summaryrefslogtreecommitdiffstats
path: root/drivers/net/usb
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2017-02-07 15:02:56 -0800
committerDavid S. Miller <davem@davemloft.net>2017-02-10 13:51:02 -0500
commitfc182b8512aa9b71c6cb43be4953c0ad9ebea908 (patch)
tree5ec8d8849426784fb7c5ec84fede30f880142656 /drivers/net/usb
parent43cc277a93a2b74430e2ae03e92bd9bc4f303814 (diff)
downloadlinux-fc182b8512aa9b71c6cb43be4953c0ad9ebea908.tar.gz
linux-fc182b8512aa9b71c6cb43be4953c0ad9ebea908.tar.bz2
linux-fc182b8512aa9b71c6cb43be4953c0ad9ebea908.zip
net: macb: fix build errors when linux/phy*.h is removed from net/dsa.h
drivers/net/ethernet/cadence/macb.h:862:33: sparse: expected ; at end of declaration drivers/net/ethernet/cadence/macb.h:862:33: sparse: Expected } at end of struct-union-enum-specifier drivers/net/ethernet/cadence/macb.h:862:33: sparse: got phy_interface drivers/net/ethernet/cadence/macb.h:877:1: sparse: Expected ; at the end of type declaration drivers/net/ethernet/cadence/macb.h:877:1: sparse: got } In file included from drivers/net/ethernet/cadence/macb_pci.c:29:0: drivers/net/ethernet/cadence/macb.h:862:2: error: unknown type name 'phy_interface_t' phy_interface_t phy_interface; ^~~~~~~~~~~~~~~ Add linux/phy.h to macb.h Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/usb')
0 files changed, 0 insertions, 0 deletions