From: Claudiu Manoil Date: Tue, 7 Oct 2014 07:44:28 +0000 (+0300) Subject: net/fsl_pq_mdio: Fix asm/ucc.h compile error for ARM X-Git-Tag: firefly_0821_release~176^2~3001^2~84^2~7 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9a4cbd53b80862c1e57ed20d30468770699b776e;p=firefly-linux-kernel-4.4.55.git 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 Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/freescale/fsl_pq_mdio.c b/drivers/net/ethernet/freescale/fsl_pq_mdio.c index 583e71ab7f51..32136f08515e 100644 --- a/drivers/net/ethernet/freescale/fsl_pq_mdio.c +++ b/drivers/net/ethernet/freescale/fsl_pq_mdio.c @@ -28,7 +28,9 @@ #include #include +#if IS_ENABLED(CONFIG_UCC_GETH) #include /* for ucc_set_qe_mux_mii_mng() */ +#endif #include "gianfar.h"