Patchwork smsc911x: make smsc911x_poll_controller static

login
register
mail settings
Submitter Steve Glendinning
Date Dec. 11, 2008, 10:55 a.m.
Message ID <1228992936-16674-1-git-send-email-steve.glendinning@smsc.com>
Download mbox | patch
Permalink /patch/13410/
State Accepted
Delegated to: David Miller
Headers show

Comments

Steve Glendinning - Dec. 11, 2008, 10:55 a.m.
Signed-off-by: Steve Glendinning <steve.glendinning@smsc.com>
---
 drivers/net/smsc911x.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
David Miller - Dec. 13, 2008, 6:31 a.m.
From: Steve Glendinning <steve.glendinning@smsc.com>
Date: Thu, 11 Dec 2008 10:55:36 +0000

> Signed-off-by: Steve Glendinning <steve.glendinning@smsc.com>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/drivers/net/smsc911x.c b/drivers/net/smsc911x.c
index 4b8ff84..ae32716 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);