Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

net: cpsw: header, Add missing include

"MII_BUS_ID_SIZE" is defined in linux/phy.h which is not included in the
cpsw.h file.

Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Reviewed-by: Wolfram Sang <wsa@the-dreams.de>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Markus Pargmann and committed by
David S. Miller
bd07d34f 4d507dff

+1
+1
drivers/net/ethernet/ti/cpsw.h
··· 15 15 #define __CPSW_H__ 16 16 17 17 #include <linux/if_ether.h> 18 + #include <linux/phy.h> 18 19 19 20 struct cpsw_slave_data { 20 21 char phy_id[MII_BUS_ID_SIZE];