net: sched: export __netdev_watchdog_up()
authorValentin Longchamp <valentin@longchamp.me>
Tue, 9 Jun 2020 20:11:54 +0000 (22:11 +0200)
committerSasha Levin <sashal@kernel.org>
Tue, 30 Jun 2020 19:38:37 +0000 (15:38 -0400)
commit026305903c47c61a876ef03ec3f5a9b7c5f4ef8f
treee060a1f4cd878a38ba82274b526c5b653a31726a
parentcb6f92ed839f2efbff7a6369a42f0d3b7a9f8268
net: sched: export __netdev_watchdog_up()

[ Upstream commit 1a3db27ad9a72d033235b9673653962c02e3486e ]

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: 79dde73cf9bc ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/sched/sch_generic.c