1
0
Fork 0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-05-25 17:06:13 +02:00

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: b2cfed48f6 ("Revert "swconfig: fix Broadcom b53 support"")
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
This commit is contained in:
Rafał Miłecki 2021-10-07 15:00:52 +02:00
parent 2e4193f3cf
commit e4e410733f

View File

@ -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)