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:
13bf776
)
net: fman: fix build errors when linux/phy*.h is removed from net/dsa.h
author
Russell King
<
[email protected]
>
Tue, 7 Feb 2017 23:02:59 +0000
(15:02 -0800)
committer
David S. Miller
<
[email protected]
>
Fri, 10 Feb 2017 18:51:02 +0000
(13:51 -0500)
drivers/net/ethernet/freescale/fman/fman_memac.c:519:21: error: dereferencing pointer to incomplete type 'struct fixed_phy_status'
Add linux/phy_fixed.h to fman_memac.c
Signed-off-by: Russell King <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/ethernet/freescale/fman/fman_memac.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/freescale/fman/fman_memac.c
b/drivers/net/ethernet/freescale/fman/fman_memac.c
index 71a5ded9d1de0fda2f08c32985cc7661a3af3966..cd6a53eaf1614f7ffbeaadc7bbf6b28d8163e4c0 100644
(file)
--- a/
drivers/net/ethernet/freescale/fman/fman_memac.c
+++ b/
drivers/net/ethernet/freescale/fman/fman_memac.c
@@
-38,6
+38,7
@@
#include <linux/slab.h>
#include <linux/io.h>
#include <linux/phy.h>
+#include <linux/phy_fixed.h>
#include <linux/of_mdio.h>
/* PCS registers */