From: Geert Uytterhoeven Date: Tue, 29 Sep 2015 08:24:03 +0000 (+0200) Subject: net: 7990: Export lance_poll() to modules X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=93a82ca2f3c642becc3d824ba79be98084f76519;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git net: 7990: Export lance_poll() to modules If CONFIG_HPLANCE=m and CONFIG_NET_POLL_CONTROLLER=y: ERROR: "lance_poll" [drivers/net/ethernet/amd/hplance.ko] undefined! Add the missing export to fix this. Signed-off-by: Geert Uytterhoeven Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/amd/7990.c b/drivers/net/ethernet/amd/7990.c index 98a10d555b79..66d0b73c39c0 100644 --- a/drivers/net/ethernet/amd/7990.c +++ b/drivers/net/ethernet/amd/7990.c @@ -661,6 +661,7 @@ void lance_poll(struct net_device *dev) spin_unlock(&lp->devlock); lance_interrupt(dev->irq, dev); } +EXPORT_SYMBOL_GPL(lance_poll); #endif MODULE_LICENSE("GPL");