aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/files
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
parentd81e6f3d379bc36c9f1fcc639daaafd84dcac9ce (diff)
downloadupstream-50709b5321f40245b7d4272ba7e2e1d68e6b83c8.tar.gz
upstream-50709b5321f40245b7d4272ba7e2e1d68e6b83c8.tar.bz2
upstream-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')
-rw-r--r--target/linux/generic/files/drivers/net/phy/ar8216.c2
-rw-r--r--target/linux/generic/files/include/linux/ar8216_platform.h2
2 files changed, 2 insertions, 2 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);
diff --git a/target/linux/generic/files/include/linux/ar8216_platform.h b/target/linux/generic/files/include/linux/ar8216_platform.h
index f5c2ef065f..f1673dbb53 100644
--- a/target/linux/generic/files/include/linux/ar8216_platform.h
+++ b/target/linux/generic/files/include/linux/ar8216_platform.h
@@ -74,7 +74,7 @@ struct ar8327_platform_data {
struct ar8327_pad_cfg *pad0_cfg;
struct ar8327_pad_cfg *pad5_cfg;
struct ar8327_pad_cfg *pad6_cfg;
- struct ar8327_port_cfg cpuport_cfg;
+ struct ar8327_port_cfg port0_cfg;
struct ar8327_led_cfg *led_cfg;
};