summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-03-20 23:00:14 -0800
committerDavid S. Miller <davem@davemloft.net>2006-03-20 23:00:14 -0800
commit81789ef5c9a435fbf94224987efe6fbb97ffab09 (patch)
treebdabc8f8c5ffaa68febd0a84c48052c59723b4c5
parent12ac84c4a9c505e3e30529563b04cc8f6d5ebbf3 (diff)
downloadop-kernel-dev-81789ef5c9a435fbf94224987efe6fbb97ffab09.zip
op-kernel-dev-81789ef5c9a435fbf94224987efe6fbb97ffab09.tar.gz
[TG3]: make drivers/net/tg3.c:tg3_request_irq() static
This patch makes the needlessly global function tg3_request_irq() static. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/tg3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/tg3.c b/drivers/net/tg3.c
index 5104efe..b1e8d06 100644
--- a/drivers/net/tg3.c
+++ b/drivers/net/tg3.c
@@ -6531,7 +6531,7 @@ static void tg3_timer(unsigned long __opaque)
add_timer(&tp->timer);
}
-int tg3_request_irq(struct tg3 *tp)
+static int tg3_request_irq(struct tg3 *tp)
{
irqreturn_t (*fn)(int, void *, struct pt_regs *);
unsigned long flags;
OpenPOWER on IntegriCloud