diff options
author | Tobias Schramm <tobleminer@gmail.com> | 2019-12-03 22:30:00 +0100 |
---|---|---|
committer | David Bauer <mail@david-bauer.net> | 2020-01-12 14:12:50 +0100 |
commit | 8f9cd1af0f9c325a902dbd0e79e12015372e6bb0 (patch) | |
tree | 7cdca66b835e81862b53a0cb079fb7880b2b1a6f /target/linux/generic/files/drivers/net/phy/swconfig.c | |
parent | 35ba9304c60665724803ae142ba971947973012c (diff) | |
download | upstream-8f9cd1af0f9c325a902dbd0e79e12015372e6bb0.tar.gz upstream-8f9cd1af0f9c325a902dbd0e79e12015372e6bb0.tar.bz2 upstream-8f9cd1af0f9c325a902dbd0e79e12015372e6bb0.zip |
swconfig: fix Broadcom b53 support
This commit fixes a bug in the main swconfig patch where a function
needed by the b53 driver is not exported.
Additionally it adds OF support to the b53_mdio driver for devicetree-
based probing
Signed-off-by: Tobias Schramm <tobleminer@gmail.com>
Diffstat (limited to 'target/linux/generic/files/drivers/net/phy/swconfig.c')
-rw-r--r-- | target/linux/generic/files/drivers/net/phy/swconfig.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/generic/files/drivers/net/phy/swconfig.c b/target/linux/generic/files/drivers/net/phy/swconfig.c index 20d6c693da..abf1a4504b 100644 --- a/target/linux/generic/files/drivers/net/phy/swconfig.c +++ b/target/linux/generic/files/drivers/net/phy/swconfig.c @@ -1256,6 +1256,7 @@ switch_generic_set_link(struct switch_dev *dev, int port, return 0; } +EXPORT_SYMBOL_GPL(switch_generic_set_link); static int __init swconfig_init(void) |