From: Russell King Date: Tue, 7 Feb 2017 23:02:57 +0000 (-0800) Subject: net: lan78xx: fix build errors when linux/phy*.h is removed from net/dsa.h X-Git-Tag: v4.14-rc1~1463^2~151^2~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8c56ea410efb537e5b4d10365e14b140f110314c;p=platform%2Fkernel%2Flinux-rpi3.git net: lan78xx: fix build errors when linux/phy*.h is removed from net/dsa.h drivers/net/usb/lan78xx.c:394:33: sparse: expected ; at end of declaration drivers/net/usb/lan78xx.c:394:33: sparse: Expected } at end of struct-union-enum-specifier drivers/net/usb/lan78xx.c:394:33: sparse: got interface drivers/net/usb/lan78xx.c:403:1: sparse: Expected ; at the end of type declaration drivers/net/usb/lan78xx.c:403:1: sparse: got } Add linux/phy.h to lan78xx.c Signed-off-by: Russell King Signed-off-by: David S. Miller --- diff --git a/drivers/net/usb/lan78xx.c b/drivers/net/usb/lan78xx.c index 08f8703..9889a70 100644 --- a/drivers/net/usb/lan78xx.c +++ b/drivers/net/usb/lan78xx.c @@ -35,6 +35,7 @@ #include #include #include +#include #include "lan78xx.h" #define DRIVER_AUTHOR "WOOJUNG HUH "