net: 7990: Export lance_poll() to modules
authorGeert Uytterhoeven <geert@linux-m68k.org>
Tue, 29 Sep 2015 08:24:03 +0000 (10:24 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Sep 2015 04:11:12 +0000 (21:11 -0700)
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>
drivers/net/ethernet/amd/7990.c

index 98a10d555b793e029d20b6694ba1fab7cd13a053..66d0b73c39c03ba2a050c70e49f6cba4498f47c1 100644 (file)
@@ -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");