Commit 95f259ca authored by Sebastian Hesselbarth's avatar Sebastian Hesselbarth Committed by David S. Miller

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: default avatarSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b0224175
...@@ -12,7 +12,6 @@ ...@@ -12,7 +12,6 @@
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <linux/gpio.h> #include <linux/gpio.h>
#include <linux/gpio-pxa.h> #include <linux/gpio-pxa.h>
#include <linux/phy.h>
#include <asm/mach/arch.h> #include <asm/mach/arch.h>
#include <asm/mach-types.h> #include <asm/mach-types.h>
......
...@@ -4,6 +4,8 @@ ...@@ -4,6 +4,8 @@
#ifndef __LINUX_PXA168_ETH_H #ifndef __LINUX_PXA168_ETH_H
#define __LINUX_PXA168_ETH_H #define __LINUX_PXA168_ETH_H
#include <linux/phy.h>
struct pxa168_eth_platform_data { struct pxa168_eth_platform_data {
int port_number; int port_number;
int phy_addr; int phy_addr;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment