diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2017-02-07 15:02:57 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-02-10 13:51:02 -0500 |
commit | 8c56ea410efb537e5b4d10365e14b140f110314c (patch) | |
tree | 52d349dbde964f794a21dab01890eae3e7c9caac /drivers | |
parent | fc182b8512aa9b71c6cb43be4953c0ad9ebea908 (diff) |
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>
Diffstat (limited to 'drivers')