summaryrefslogtreecommitdiff
path: root/target/linux/generic/files/drivers/net
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-12-22 12:12:35 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-12-22 12:12:35 +0000
commite1ab1fcace1fb828b007bafca84a70185cb2dd72 (patch)
tree86405156e3e3fb6f8be523b89776e4d0793007fa /target/linux/generic/files/drivers/net
parente39812dd92a0c3446cbb9d23d990bb8592ae6382 (diff)
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/net')
-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);