aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/amd/7990.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2015-09-29 10:24:03 +0200
committerDavid S. Miller <davem@davemloft.net>2015-09-29 21:11:12 -0700
commit93a82ca2f3c642becc3d824ba79be98084f76519 (patch)
tree1a9115fc726fe0d616648b5e0d4b97c580bfed70 /drivers/net/ethernet/amd/7990.c
parentnet: mac8390: Allow modular build (diff)
downloadlinux-dev-93a82ca2f3c642becc3d824ba79be98084f76519.tar.xz
linux-dev-93a82ca2f3c642becc3d824ba79be98084f76519.zip
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 <geert@linux-m68k.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r--drivers/net/ethernet/amd/7990.c1
1 files changed, 1 insertions, 0 deletions
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");