Skip to content

Commit

Permalink
net: cpsw: header, Add missing include
Browse files Browse the repository at this point in the history
"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>
  • Loading branch information
Markus Pargmann authored and David S. Miller committed Sep 30, 2014
1 parent 4d507df commit bd07d34
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/net/ethernet/ti/cpsw.h
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit bd07d34

Please sign in to comment.