summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/8xx/adder875.c
diff options
context:
space:
mode:
authorHubert Feurstein <h.feurstein@gmail.com>2019-07-31 17:42:39 +0200
committerDavid S. Miller <davem@davemloft.net>2019-08-05 19:55:58 +0200
commit7fb5a711545d7d25fe9726a9ad277474dd83bd06 (patch)
tree413fc4efbb8ad5a350b46a178d3bc9eb7f3259c8 /arch/powerpc/platforms/8xx/adder875.c
parentNFC: nfcmrvl: fix gpio-handling regression (diff)
downloadlinux-7fb5a711545d7d25fe9726a9ad277474dd83bd06.tar.xz
linux-7fb5a711545d7d25fe9726a9ad277474dd83bd06.zip
net: dsa: mv88e6xxx: drop adjust_link to enabled phylink
We have to drop the adjust_link callback in order to finally migrate to phylink. Otherwise we get the following warning during startup: "mv88e6xxx 2188000.ethernet-1:10: Using legacy PHYLIB callbacks. Please migrate to PHYLINK!" The warning is generated in the function dsa_port_link_register_of in dsa/port.c: int dsa_port_link_register_of(struct dsa_port *dp) { struct dsa_switch *ds = dp->ds; if (!ds->ops->adjust_link) return dsa_port_phylink_register(dp); dev_warn(ds->dev, "Using legacy PHYLIB callbacks. Please migrate to PHYLINK!\n"); [...] } Signed-off-by: Hubert Feurstein <h.feurstein@gmail.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Vladimir Oltean <olteanv@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/powerpc/platforms/8xx/adder875.c')
0 files changed, 0 insertions, 0 deletions