From: Russell King Date: Tue, 7 Feb 2017 23:03:00 +0000 (-0800) Subject: net: mvneta: fix build errors when linux/phy*.h is removed from net/dsa.h X-Git-Tag: v4.11-rc1~124^2~151^2~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9303ab2b3402b60f6c39abfdbfa4ce00fce8bee4;p=thirdparty%2Fkernel%2Flinux.git net: mvneta: fix build errors when linux/phy*.h is removed from net/dsa.h drivers/net/ethernet/marvell/mvneta.c:2694:26: error: storage size of 'status' isn't known drivers/net/ethernet/marvell/mvneta.c:2695:26: error: storage size of 'changed' isn't known drivers/net/ethernet/marvell/mvneta.c:2695:9: error: variable 'changed' has initializer but incomplete type drivers/net/ethernet/marvell/mvneta.c:2709:2: error: implicit declaration of function 'fixed_phy_update_state' [-Werror=implicit-function-declaration] Add linux/phy_fixed.h to mvneta.c Signed-off-by: Russell King Acked-by: Thomas Petazzoni Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/marvell/mvneta.c b/drivers/net/ethernet/marvell/mvneta.c index 0f4d1697be46d..fdf71720e707d 100644 --- a/drivers/net/ethernet/marvell/mvneta.c +++ b/drivers/net/ethernet/marvell/mvneta.c @@ -28,6 +28,7 @@ #include #include #include +#include #include #include #include