提交 bd07d34f 编写于 作者: M Markus Pargmann 提交者: 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: NMarkus Pargmann <mpa@pengutronix.de>
Reviewed-by: NWolfram Sang <wsa@the-dreams.de>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册