Commit 6b2e4386 authored by Richard Knutsson's avatar Richard Knutsson Committed by Linus Torvalds

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: default avatarRichard Knutsson <ricknu-0@student.ltu.se>
Acked-by: default avatarAlan Cox <alan@redhat.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 1569d9e8
...@@ -991,7 +991,7 @@ static int ax_open(struct net_device *dev) ...@@ -991,7 +991,7 @@ static int ax_open(struct net_device *dev)
* *
* Opposite of ax_open(). Only used when "ifconfig <devname> down" is done. * Opposite of ax_open(). Only used when "ifconfig <devname> down" is done.
*/ */
int ax_close(struct net_device *dev) static int ax_close(struct net_device *dev)
{ {
unsigned long flags; unsigned long flags;
...@@ -1014,7 +1014,7 @@ int ax_close(struct net_device *dev) ...@@ -1014,7 +1014,7 @@ int ax_close(struct net_device *dev)
* completed (or failed) - i.e. never posted a Tx related interrupt. * completed (or failed) - i.e. never posted a Tx related interrupt.
*/ */
void ei_tx_timeout(struct net_device *dev) static void ei_tx_timeout(struct net_device *dev)
{ {
long e8390_base = dev->base_addr; long e8390_base = dev->base_addr;
struct ei_device *ei_local = (struct ei_device *) netdev_priv(dev); struct ei_device *ei_local = (struct ei_device *) netdev_priv(dev);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment