mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-13 22:14:20 +08:00
[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>
This commit is contained in:
parent
12ac84c4a9
commit
81789ef5c9
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user