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: microblaze-4.13-rc1~645^2~151^2~8 X-Git-Url: http://git.monstr.eu/?a=commitdiff_plain;h=8c56ea410efb537e5b4d10365e14b140f110314c;p=linux-2.6-microblaze.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 08f8703e4d54..9889a70ff4f6 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 "