diff options
author | Claudiu Manoil <claudiu.manoil@freescale.com> | 2014-10-07 10:44:28 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-10-09 01:40:36 -0400 |
commit | 9a4cbd53b80862c1e57ed20d30468770699b776e (patch) | |
tree | 57cc3589473732e60213a83020c98cde0c0411fe /drivers/net/ethernet/freescale | |
parent | 59f35b810e3bb17efef2aa5feadffb66450190d9 (diff) | |
download | op-kernel-dev-9a4cbd53b80862c1e57ed20d30468770699b776e.zip op-kernel-dev-9a4cbd53b80862c1e57ed20d30468770699b776e.tar.gz |
net/fsl_pq_mdio: Fix asm/ucc.h compile error for ARM
The UCC specific code included in fsl_pq_mdio.c (with
function calls from asm/ucc.h) is already guarded
by these config options, so this ARM build fix only
provides consistency with the rest UCC specific code.
Signed-off-by: Claudiu Manoil <claudiu.manoil@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/freescale')
-rw-r--r-- | drivers/net/ethernet/freescale/fsl_pq_mdio.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/freescale/fsl_pq_mdio.c b/drivers/net/ethernet/freescale/fsl_pq_mdio.c index 583e71a..32136f0 100644 --- a/drivers/net/ethernet/freescale/fsl_pq_mdio.c +++ b/drivers/net/ethernet/freescale/fsl_pq_mdio.c @@ -28,7 +28,9 @@ #include <linux/of_device.h> #include <asm/io.h> +#if IS_ENABLED(CONFIG_UCC_GETH) #include <asm/ucc.h> /* for ucc_set_qe_mux_mii_mng() */ +#endif #include "gianfar.h" |