1
0
Fork 0

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>
hifive-unleashed-5.1
Sebastian Hesselbarth 2014-10-25 12:08:59 +02:00 committed by David S. Miller
parent b02241755d
commit 95f259ca3b
2 changed files with 2 additions and 1 deletions

View 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>

View 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;