diff options
author | Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> | 2014-10-25 06:08:59 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-10-28 16:48:02 -0400 |
commit | 95f259ca3bf485a0c1f17d9024813d4aab485a23 (patch) | |
tree | 6bfa55410e98e91d13616472ffee803cf9be1264 | |
parent | b02241755d0edc67204d475e746750bc754ead4f (diff) |
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>
-rw-r--r-- | arch/arm/mach-mmp/gplugd.c | 1 | ||||
-rw-r--r-- | include/linux/pxa168_eth.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-mmp/gplugd.c b/arch/arm/mach-mmp/gplugd.c index 3b5794cd0357..22762a1f9f72 100644 --- a/arch/arm/mach-mmp/gplugd.c +++ b/arch/arm/mach-mmp/gplugd.c | |||
@@ -12,7 +12,6 @@ | |||
12 | #include <linux/platform_device.h> | 12 | #include <linux/platform_device.h> |
13 | #include <linux/gpio.h> | 13 | #include <linux/gpio.h> |
14 | #include <linux/gpio-pxa.h> | 14 | #include <linux/gpio-pxa.h> |
15 | #include <linux/phy.h> | ||
16 | 15 | ||
17 | #include <asm/mach/arch.h> | 16 | #include <asm/mach/arch.h> |
18 | #include <asm/mach-types.h> | 17 | #include <asm/mach-types.h> |
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 @@ | |||
4 | #ifndef __LINUX_PXA168_ETH_H | 4 | #ifndef __LINUX_PXA168_ETH_H |
5 | #define __LINUX_PXA168_ETH_H | 5 | #define __LINUX_PXA168_ETH_H |
6 | 6 | ||
7 | #include <linux/phy.h> | ||
8 | |||
7 | struct pxa168_eth_platform_data { | 9 | struct pxa168_eth_platform_data { |
8 | int port_number; | 10 | int port_number; |
9 | int phy_addr; | 11 | int phy_addr; |