diff options
author | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-12-22 12:12:35 +0000 |
---|---|---|
committer | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-12-22 12:12:35 +0000 |
commit | e1ab1fcace1fb828b007bafca84a70185cb2dd72 (patch) | |
tree | 86405156e3e3fb6f8be523b89776e4d0793007fa /target/linux/generic/files | |
parent | e39812dd92a0c3446cbb9d23d990bb8592ae6382 (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')
-rw-r--r-- | target/linux/generic/files/drivers/net/phy/ar8216.c | 2 | ||||
-rw-r--r-- | target/linux/generic/files/include/linux/ar8216_platform.h | 2 |
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; }; |