aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/files/drivers/net/phy
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
commita0b31f97bb215b2de2c4addbc426121511f1d625 (patch)
tree8cda5030224aae1b3fad954b74f3bb1b6599bf19 /target/linux/generic/files/drivers/net/phy
parentb44cdcde8e9af4ac2cc4f94f11452a9c7d1f7dae (diff)
downloadupstream-a0b31f97bb215b2de2c4addbc426121511f1d625.tar.gz
upstream-a0b31f97bb215b2de2c4addbc426121511f1d625.tar.bz2
upstream-a0b31f97bb215b2de2c4addbc426121511f1d625.zip
generic: ar8216: rename cpuport_cfg to port0_cfg in ar8327_platform_data
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34846
Diffstat (limited to 'target/linux/generic/files/drivers/net/phy')
-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);