kernel: export switch_generic_set_link() symbol
authorRafał Miłecki <rafal@milecki.pl>
Thu, 7 Oct 2021 13:00:52 +0000 (15:00 +0200)
committerRafał Miłecki <rafal@milecki.pl>
Thu, 7 Oct 2021 13:13:16 +0000 (15:13 +0200)
commite4e410733f3b0cad09d3a235eec0b04f4068c331
tree272bff96d010baf6e91b6d3d8f83fc5339b74e8e
parent2e4193f3cfa23f6c85f479ef10bf779406538f3c
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>
target/linux/generic/files/drivers/net/phy/swconfig.c