linux/drivers/net/ethernet/cadence
Russell King fc182b8512 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>
2017-02-10 13:51:02 -05:00
..
Kconfig net: macb: Added PCI wrapper for Platform Driver. 2016-12-17 10:24:33 -05:00
macb_pci.c net: macb: Updated resource allocation function calls to new version of API. 2017-01-03 09:35:42 -05:00
macb.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-02-02 16:54:00 -05:00
macb.h net: macb: fix build errors when linux/phy*.h is removed from net/dsa.h 2017-02-10 13:51:02 -05:00
Makefile net: macb: Added PCI wrapper for Platform Driver. 2016-12-17 10:24:33 -05:00