summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Pargmann <mpa@pengutronix.de>2014-09-29 08:53:15 +0200
committerDavid S. Miller <davem@davemloft.net>2014-09-30 07:30:43 +0200
commitbd07d34f00dfe5025faab0263554e3052ce5d58e (patch)
tree26bf59f74fca1bbe10c3a8da3f0894087fad5a15
parentnet: cpsw: Add missing return value (diff)
downloadlinux-bd07d34f00dfe5025faab0263554e3052ce5d58e.tar.xz
linux-bd07d34f00dfe5025faab0263554e3052ce5d58e.zip
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>
-rw-r--r--drivers/net/ethernet/ti/cpsw.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/ti/cpsw.h b/drivers/net/ethernet/ti/cpsw.h
index 574f49da693f..1b710674630c 100644
--- a/drivers/net/ethernet/ti/cpsw.h
+++ b/drivers/net/ethernet/ti/cpsw.h
@@ -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];