]> 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)
commitb081146d560b0ac870bd97cb05db6293fa58a37e
tree607e01659d43cbf793347c705d6a4d64363edbfa
parent2332595d9fa4f8373c7ae21a3829c59bda66b7cb
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: 946a71dc4a72 ("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