projects
/
openwrt
/
staging
/
chunkeey.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
generic: ar8216: rename cpuport_cfg to port0_cfg in ar8327_platform_data
[openwrt/staging/chunkeey.git]
/
target
/
linux
/
generic
/
files
/
drivers
/
net
/
phy
/
ar8216.c
diff --git
a/target/linux/generic/files/drivers/net/phy/ar8216.c
b/target/linux/generic/files/drivers/net/phy/ar8216.c
index 9cbe3a838cedfcad7275303ae62f2c0090f2f9a2..f20cc281bf06481ff5096f4dd09afe9809a3b0e9 100644
(file)
--- 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);