projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59f35b8
)
net/fsl_pq_mdio: Fix asm/ucc.h compile error for ARM
author
Claudiu Manoil
<
[email protected]
>
Tue, 7 Oct 2014 07:44:28 +0000
(10:44 +0300)
committer
David S. Miller
<
[email protected]
>
Thu, 9 Oct 2014 05:40:36 +0000
(
01:40
-0400)
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 <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/ethernet/freescale/fsl_pq_mdio.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/freescale/fsl_pq_mdio.c
b/drivers/net/ethernet/freescale/fsl_pq_mdio.c
index 583e71ab7f51b7f9edb307814d1310d1beebb2ff..32136f08515e1d681910d122835a9deaed917eeb 100644
(file)
--- 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"