aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Knutsson <ricknu-0@student.ltu.se>2008-02-05 01:27:40 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-05 12:44:09 -0500
commit6b2e43861b09bce857d41d47c853003be587a575 (patch)
treecb3bf6a7dd55ce7347a50b8560983bb635486235
parent1569d9e89a77d51750497dc23d303e27d0d9494d (diff)
pcmcia/axnet_cs: make functions static
Fixing: CHECK drivers/net/pcmcia/axnet_cs.c drivers/net/pcmcia/axnet_cs.c:994:5: warning: symbol 'ax_close' was not declared. Should it be static? drivers/net/pcmcia/axnet_cs.c:1017:6: warning: symbol 'ei_tx_timeout' was not declared. Should it be static? Signed-off-by: Richard Knutsson <ricknu-0@student.ltu.se> Acked-by: Alan Cox <alan@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--drivers/net/pcmcia/axnet_cs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/pcmcia/axnet_cs.c b/drivers/net/pcmcia/axnet_cs.c
index e1158817cc97..9d4d7061dff8 100644
--- a/drivers/net/pcmcia/axnet_cs.c
+++ b/drivers/net/pcmcia/axnet_cs.c
@@ -991,7 +991,7 @@ static int ax_open(struct net_device *dev)
991 * 991 *
992 * Opposite of ax_open(). Only used when "ifconfig <devname> down" is done. 992 * Opposite of ax_open(). Only used when "ifconfig <devname> down" is done.
993 */ 993 */
994int ax_close(struct net_device *dev) 994static int ax_close(struct net_device *dev)
995{ 995{
996 unsigned long flags; 996 unsigned long flags;
997 997
@@ -1014,7 +1014,7 @@ int ax_close(struct net_device *dev)
1014 * completed (or failed) - i.e. never posted a Tx related interrupt. 1014 * completed (or failed) - i.e. never posted a Tx related interrupt.
1015 */ 1015 */
1016 1016
1017void ei_tx_timeout(struct net_device *dev) 1017static void ei_tx_timeout(struct net_device *dev)
1018{ 1018{
1019 long e8390_base = dev->base_addr; 1019 long e8390_base = dev->base_addr;
1020 struct ei_device *ei_local = (struct ei_device *) netdev_priv(dev); 1020 struct ei_device *ei_local = (struct ei_device *) netdev_priv(dev);