]> git.karo-electronics.de Git - karo-tx-linux.git/commit
net: lan78xx: fix build errors when linux/phy*.h is removed from net/dsa.h
authorRussell King <rmk+kernel@armlinux.org.uk>
Tue, 7 Feb 2017 23:02:57 +0000 (15:02 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Feb 2017 18:51:02 +0000 (13:51 -0500)
commit8c56ea410efb537e5b4d10365e14b140f110314c
tree52d349dbde964f794a21dab01890eae3e7c9caac
parentfc182b8512aa9b71c6cb43be4953c0ad9ebea908
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 <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/lan78xx.c