Commit bd07d34f authored by Markus Pargmann's avatar Markus Pargmann Committed by David S. Miller

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: default avatarMarkus Pargmann <mpa@pengutronix.de>
Reviewed-by: default avatarWolfram Sang <wsa@the-dreams.de>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 4d507dff
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
#define __CPSW_H__ #define __CPSW_H__
#include <linux/if_ether.h> #include <linux/if_ether.h>
#include <linux/phy.h>
struct cpsw_slave_data { struct cpsw_slave_data {
char phy_id[MII_BUS_ID_SIZE]; char phy_id[MII_BUS_ID_SIZE];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment