diff options
author | Valentin Longchamp <valentin@longchamp.me> | 2020-06-09 22:11:54 +0200 |
---|---|---|
committer | Sasha Levin <sashal@kernel.org> | 2020-06-30 15:37:57 -0400 |
commit | 1aa52fb6780dc8e0396405612d1c9d505810bd2d (patch) | |
tree | 915206f900cc600e7c0fd7b51817829263bed38a | |
parent | a32228290d89ddabd4bb2cb2dbcb596a13ae0569 (diff) | |
download | linux-stable-1aa52fb6780dc8e0396405612d1c9d505810bd2d.tar.gz linux-stable-1aa52fb6780dc8e0396405612d1c9d505810bd2d.tar.bz2 linux-stable-1aa52fb6780dc8e0396405612d1c9d505810bd2d.zip |
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>
-rw-r--r-- | net/sched/sch_generic.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/sched/sch_generic.c b/net/sched/sch_generic.c index 21b981abbacb..091a9746627f 100644 --- a/net/sched/sch_generic.c +++ b/net/sched/sch_generic.c @@ -341,6 +341,7 @@ void __netdev_watchdog_up(struct net_device *dev) dev_hold(dev); } } +EXPORT_SYMBOL_GPL(__netdev_watchdog_up); static void dev_watchdog_up(struct net_device *dev) { |