diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2021-10-07 15:00:52 +0200 |
---|---|---|
committer | Rafał Miłecki <rafal@milecki.pl> | 2021-10-07 15:13:16 +0200 |
commit | e4e410733f3b0cad09d3a235eec0b04f4068c331 (patch) | |
tree | 272bff96d010baf6e91b6d3d8f83fc5339b74e8e /target/linux/generic/files/drivers/net | |
parent | 2e4193f3cfa23f6c85f479ef10bf779406538f3c (diff) | |
download | upstream-e4e410733f3b0cad09d3a235eec0b04f4068c331.tar.gz upstream-e4e410733f3b0cad09d3a235eec0b04f4068c331.tar.bz2 upstream-e4e410733f3b0cad09d3a235eec0b04f4068c331.zip |
kernel: export switch_generic_set_link() symbol
This fixes:
ERROR: "switch_generic_set_link" [drivers/net/phy/b53/b53_common.ko] undefined!
At some point all packages for swconfig drivers were dropped and targets
were meant to have them built into kernels. It seems b53 (re-)gained its
kmod-switch-bcm53xx however and b53 needs to be built as module.
Fixes: b2cfed48f626 ("Revert "swconfig: fix Broadcom b53 support"")
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Diffstat (limited to 'target/linux/generic/files/drivers/net')
-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 f506daaf91..a734e57608 100644 --- a/target/linux/generic/files/drivers/net/phy/swconfig.c +++ b/target/linux/generic/files/drivers/net/phy/swconfig.c @@ -1222,6 +1222,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) |