summaryrefslogtreecommitdiff
path: root/drivers/net/tg3.c
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 /drivers/net/tg3.c
parent12ac84c4a9c505e3e30529563b04cc8f6d5ebbf3 (diff)
downloadlwn-81789ef5c9a435fbf94224987efe6fbb97ffab09.tar.gz
lwn-81789ef5c9a435fbf94224987efe6fbb97ffab09.zip
[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>
Diffstat (limited to 'drivers/net/tg3.c')
-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 5104efe8ebfb..b1e8d0698fac 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;