Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Sebastian Hesselbarth and committed by
David S. Miller
95f259ca b0224175

+2 -1
-1
arch/arm/mach-mmp/gplugd.c
··· 12 12 #include <linux/platform_device.h> 13 13 #include <linux/gpio.h> 14 14 #include <linux/gpio-pxa.h> 15 - #include <linux/phy.h> 16 15 17 16 #include <asm/mach/arch.h> 18 17 #include <asm/mach-types.h>
+2
include/linux/pxa168_eth.h
··· 4 4 #ifndef __LINUX_PXA168_ETH_H 5 5 #define __LINUX_PXA168_ETH_H 6 6 7 + #include <linux/phy.h> 8 + 7 9 struct pxa168_eth_platform_data { 8 10 int port_number; 9 11 int phy_addr;