aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/pxa168_eth.h
diff options
context:
space:
mode:
authorSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>2014-10-25 12:08:59 +0200
committerDavid S. Miller <davem@davemloft.net>2014-10-28 16:48:02 -0400
commit95f259ca3bf485a0c1f17d9024813d4aab485a23 (patch)
tree6bfa55410e98e91d13616472ffee803cf9be1264 /include/linux/pxa168_eth.h
parentnet: phy: Adding SGMII support for Marvell 88ee1145 driver (diff)
downloadwireguard-linux-95f259ca3bf485a0c1f17d9024813d4aab485a23.tar.xz
wireguard-linux-95f259ca3bf485a0c1f17d9024813d4aab485a23.zip
net: pxa168_eth: Fix providing of phy_interface mode on platform_data
Do not add phy include to the board file but platform_data include instead. Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/pxa168_eth.h')
-rw-r--r--include/linux/pxa168_eth.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/pxa168_eth.h b/include/linux/pxa168_eth.h
index 37c381120bc8..e1ab6e86cdb3 100644
--- a/include/linux/pxa168_eth.h
+++ b/include/linux/pxa168_eth.h
@@ -4,6 +4,8 @@
#ifndef __LINUX_PXA168_ETH_H
#define __LINUX_PXA168_ETH_H
+#include <linux/phy.h>
+
struct pxa168_eth_platform_data {
int port_number;
int phy_addr;