summaryrefslogtreecommitdiffstats
path: root/drivers/net/smsc911x.c
diff options
context:
space:
mode:
authorSteve Glendinning <steve.glendinning@smsc.com>2008-12-12 22:31:16 -0800
committerDavid S. Miller <davem@davemloft.net>2008-12-12 22:31:16 -0800
commit1757ab2f0411110c0261dfb66d26faf63037c531 (patch)
tree71ef451a2a06824c2ffce64fe08ace96b2c1e922 /drivers/net/smsc911x.c
parent56bde885903bdb9d9531fd569096ec8c7a2d60ee (diff)
downloadlinux-1757ab2f0411110c0261dfb66d26faf63037c531.tar.bz2
smsc911x: make smsc911x_poll_controller static
Signed-off-by: Steve Glendinning <steve.glendinning@smsc.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/smsc911x.c')
-rw-r--r--drivers/net/smsc911x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/smsc911x.c b/drivers/net/smsc911x.c
index 4b8ff843e300..ae327166f978 100644
--- a/drivers/net/smsc911x.c
+++ b/drivers/net/smsc911x.c
@@ -1526,7 +1526,7 @@ static irqreturn_t smsc911x_irqhandler(int irq, void *dev_id)
}
#ifdef CONFIG_NET_POLL_CONTROLLER
-void smsc911x_poll_controller(struct net_device *dev)
+static void smsc911x_poll_controller(struct net_device *dev)
{
disable_irq(dev->irq);
smsc911x_irqhandler(0, dev);