]> git.baikalelectronics.ru Git - kernel.git/commit
net: sched: export __netdev_watchdog_up()
authorValentin Longchamp <valentin@longchamp.me>
Tue, 9 Jun 2020 20:11:54 +0000 (22:11 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Jun 2020 20:14:31 +0000 (13:14 -0700)
commit7270452df1ea0767954b509f4ed43754aa108535
tree607e01659d43cbf793347c705d6a4d64363edbfa
parentf31ab2b7ac1af912468eb57790d374e80f045fd4
net: sched: export __netdev_watchdog_up()

Since the quiesce/activate rework, __netdev_watchdog_up() is directly
called in the ucc_geth driver.

Unfortunately, this function is not available for modules and thus
ucc_geth cannot be built as a module anymore. Fix it by exporting
__netdev_watchdog_up().

Since the commit introducing the regression was backported to stable
branches, this one should ideally be as well.

Fixes: 93f38e6efa26 ("net/ethernet/freescale: rework quiesce/activate for ucc_geth")
Signed-off-by: Valentin Longchamp <valentin@longchamp.me>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_generic.c