]> err.no Git - linux-2.6/commitdiff
[TG3]: make drivers/net/tg3.c:tg3_request_irq() static
authorAdrian Bunk <bunk@stusta.de>
Tue, 21 Mar 2006 07:00:14 +0000 (23:00 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Mar 2006 07:00:14 +0000 (23:00 -0800)
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>
drivers/net/tg3.c

index 5104efe8ebfb79ea08c14aff42199e32e4f3ecd4..b1e8d0698fac2a0f234327b56d7a82ef5ba801e3 100644 (file)
@@ -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;