summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/ti/cpsw.h
diff options
context:
space:
mode:
authorMarkus Pargmann <mpa@pengutronix.de>2014-09-29 10:53:15 +0400
committerDavid S. Miller <davem@davemloft.net>2014-09-30 09:30:43 +0400
commitbd07d34f00dfe5025faab0263554e3052ce5d58e (patch)
tree26bf59f74fca1bbe10c3a8da3f0894087fad5a15 /drivers/net/ethernet/ti/cpsw.h
parent4d507dffe766b8e29f29d17ae8e0611b5638286e (diff)
downloadlinux-bd07d34f00dfe5025faab0263554e3052ce5d58e.tar.xz
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>
Diffstat (limited to 'drivers/net/ethernet/ti/cpsw.h')
-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];