From: Russell King Date: Tue, 7 Feb 2017 23:02:59 +0000 (-0800) Subject: net: fman: fix build errors when linux/phy*.h is removed from net/dsa.h X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=f225e4e69770a79663c62c8d6629fdf3fcbc360a;p=openwrt%2Fstaging%2Fblogic.git net: fman: fix build errors when linux/phy*.h is removed from net/dsa.h 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 Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/freescale/fman/fman_memac.c b/drivers/net/ethernet/freescale/fman/fman_memac.c index 71a5ded9d1de..cd6a53eaf161 100644 --- a/drivers/net/ethernet/freescale/fman/fman_memac.c +++ b/drivers/net/ethernet/freescale/fman/fman_memac.c @@ -38,6 +38,7 @@ #include #include #include +#include #include /* PCS registers */