From: Geert Uytterhoeven <geert@linux-m68k.org>
To: "David S. Miller" <davem@davemloft.net>,
Paul Gortmaker <paul.gortmaker@windriver.com>
Cc: Finn Thain <fthain@telegraphics.com.au>,
Joshua Thompson <funaho@jurai.org>,
Philip Blundell <philb@gnu.org>,
netdev@vger.kernel.org, linux-m68k@lists.linux-m68k.org,
Geert Uytterhoeven <geert@linux-m68k.org>
Subject: [PATCH 2/5] net: 7990: Export lance_poll() to modules
Date: Tue, 29 Sep 2015 10:24:03 +0200 [thread overview]
Message-ID: <1443515046-13968-3-git-send-email-geert@linux-m68k.org> (raw)
In-Reply-To: <1443515046-13968-1-git-send-email-geert@linux-m68k.org>
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>
---
drivers/net/ethernet/amd/7990.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/ethernet/amd/7990.c b/drivers/net/ethernet/amd/7990.c
index 98a10d555b793e02..66d0b73c39c03ba2 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");
--
1.9.1
next prev parent reply other threads:[~2015-09-29 8:24 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-29 8:24 [PATCH 0/5] net: m68k: Allow modular build Geert Uytterhoeven
2015-09-29 8:24 ` [PATCH 1/5] net: mac8390: " Geert Uytterhoeven
2015-09-29 8:24 ` Geert Uytterhoeven [this message]
2015-09-29 8:24 ` [PATCH 3/5] net: hplance: " Geert Uytterhoeven
2015-09-29 8:24 ` [PATCH 4/5] m68k/mac: Export Peripheral System Controller (PSC) base address to modules Geert Uytterhoeven
2015-09-29 8:24 ` [PATCH 5/5] net: macmace: Allow modular build Geert Uytterhoeven
2015-09-30 4:11 ` [PATCH 0/5] net: m68k: " David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1443515046-13968-3-git-send-email-geert@linux-m68k.org \
--to=geert@linux-m68k.org \
--cc=davem@davemloft.net \
--cc=fthain@telegraphics.com.au \
--cc=funaho@jurai.org \
--cc=linux-m68k@lists.linux-m68k.org \
--cc=netdev@vger.kernel.org \
--cc=paul.gortmaker@windriver.com \
--cc=philb@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).