Skip to content

Commit

Permalink
[TG3]: make drivers/net/tg3.c:tg3_request_irq() static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Adrian Bunk authored and David S. Miller committed Mar 21, 2006
1 parent 12ac84c commit 81789ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/tg3.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 81789ef

Please sign in to comment.