1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

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
This commit is contained in:
juhosg
2012-12-22 12:12:35 +00:00
parent e39812dd92
commit e1ab1fcace
10 changed files with 10 additions and 10 deletions

View File

@@ -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);

View File

@@ -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;
};