提交 95f259ca 编写于 作者: S Sebastian Hesselbarth 提交者: 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: NSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 b0224175
......@@ -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>
......
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册