mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-28 21:33:52 +00:00
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: 79dde73cf9
("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>
This commit is contained in:
parent
845e0ebb44
commit
1a3db27ad9
1 changed files with 1 additions and 0 deletions
|
@ -464,6 +464,7 @@ void __netdev_watchdog_up(struct net_device *dev)
|
||||||
dev_hold(dev);
|
dev_hold(dev);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL_GPL(__netdev_watchdog_up);
|
||||||
|
|
||||||
static void dev_watchdog_up(struct net_device *dev)
|
static void dev_watchdog_up(struct net_device *dev)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue