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)
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>
net/sched/sch_generic.c

index b19a002..265a61d 100644 (file)
@@ -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)
 {