diff options
Diffstat (limited to 'target/linux/generic/files/drivers/net')
-rw-r--r-- | target/linux/generic/files/drivers/net/phy/ar8216.c | 2 |
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); |