net: cpsw: header, Add missing include
authorMarkus Pargmann <mpa@pengutronix.de>
Mon, 29 Sep 2014 06:53:15 +0000 (08:53 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 30 Sep 2014 05:30:43 +0000 (01:30 -0400)
"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>
drivers/net/ethernet/ti/cpsw.h

index 574f49da693f194fe9a32ac731c90487498df9ba..1b710674630c71d5732ccee80d095d7587769351 100644 (file)
@@ -15,6 +15,7 @@
 #define __CPSW_H__
 
 #include <linux/if_ether.h>
+#include <linux/phy.h>
 
 struct cpsw_slave_data {
        char            phy_id[MII_BUS_ID_SIZE];