提交 81789ef5 编写于 作者: A Adrian Bunk 提交者: David S. Miller

[TG3]: make drivers/net/tg3.c:tg3_request_irq() static

This patch makes the needlessly global function tg3_request_irq()
static.
Signed-off-by: NAdrian Bunk <bunk@stusta.de>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 12ac84c4
...@@ -6531,7 +6531,7 @@ static void tg3_timer(unsigned long __opaque) ...@@ -6531,7 +6531,7 @@ static void tg3_timer(unsigned long __opaque)
add_timer(&tp->timer); 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 *); irqreturn_t (*fn)(int, void *, struct pt_regs *);
unsigned long flags; unsigned long flags;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册