aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/files/drivers
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-12-22 12:12:35 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-12-22 12:12:35 +0000
commit50709b5321f40245b7d4272ba7e2e1d68e6b83c8 (patch)
tree86405156e3e3fb6f8be523b89776e4d0793007fa /target/linux/generic/files/drivers
parentd81e6f3d379bc36c9f1fcc639daaafd84dcac9ce (diff)
downloadmaster-187ad058-50709b5321f40245b7d4272ba7e2e1d68e6b83c8.tar.gz
master-187ad058-50709b5321f40245b7d4272ba7e2e1d68e6b83c8.tar.bz2
master-187ad058-50709b5321f40245b7d4272ba7e2e1d68e6b83c8.zip
generic: ar8216: rename cpuport_cfg to port0_cfg in ar8327_platform_data
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34846 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/files/drivers')
-rw-r--r--target/linux/generic/files/drivers/net/phy/ar8216.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/generic/files/drivers/net/phy/ar8216.c b/target/linux/generic/files/drivers/net/phy/ar8216.c
index 9cbe3a838c..f20cc281bf 100644
--- a/target/linux/generic/files/drivers/net/phy/ar8216.c
+++ b/target/linux/generic/files/drivers/net/phy/ar8216.c
@@ -1084,7 +1084,7 @@ ar8327_init_cpuport(struct ar8216_priv *priv)
if (!pdata)
return;
- cfg = &pdata->cpuport_cfg;
+ cfg = &pdata->port0_cfg;
if (!cfg->force_link) {
priv->write(priv, AR8327_REG_PORT_STATUS(AR8216_PORT_CPU),
AR8216_PORT_STATUS_LINK_AUTO);