From: Valentin Longchamp Date: Tue, 9 Jun 2020 20:11:54 +0000 (+0200) Subject: net: sched: export __netdev_watchdog_up() X-Git-Tag: v5.7.3~52 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=733bcf622c8936fadd8b5beb3da95cf16f2c2a3f;p=users%2Fdwmw2%2Flinux.git 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 Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- diff --git a/net/sched/sch_generic.c b/net/sched/sch_generic.c index 2efd5b61acef1..9763da6daa9f1 100644 --- a/net/sched/sch_generic.c +++ b/net/sched/sch_generic.c @@ -464,6 +464,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) {