]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
net: pxa168_eth: Fix providing of phy_interface mode on platform_data
authorSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Sat, 25 Oct 2014 10:08:59 +0000 (12:08 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 28 Oct 2014 20:48:02 +0000 (16:48 -0400)
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>
arch/arm/mach-mmp/gplugd.c
include/linux/pxa168_eth.h

index 3b5794cd03576a9e9ac880450041afac756c6e0c..22762a1f9f726143a7ebc1fab2504dc82b570955 100644 (file)
@@ -12,7 +12,6 @@
 #include <linux/platform_device.h>
 #include <linux/gpio.h>
 #include <linux/gpio-pxa.h>
-#include <linux/phy.h>
 
 #include <asm/mach/arch.h>
 #include <asm/mach-types.h>
index 37c381120bc83c10ad84e7178ed11128f31fbe9f..e1ab6e86cdb39491e9a1a311d1e6323bf0b2f9ad 100644 (file)
@@ -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;