From e172d1c9eaa899b96dc0799a3d002b40bea725e4 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Wed, 28 Mar 2007 10:49:01 +0000 Subject: [PATCH] Fix warnings SVN-Revision: 6742 --- target/linux/adm5120-2.6/files/drivers/net/adm5120sw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/linux/adm5120-2.6/files/drivers/net/adm5120sw.c b/target/linux/adm5120-2.6/files/drivers/net/adm5120sw.c index c75ad4abb0..f6a0c74d86 100644 --- a/target/linux/adm5120-2.6/files/drivers/net/adm5120sw.c +++ b/target/linux/adm5120-2.6/files/drivers/net/adm5120sw.c @@ -159,7 +159,7 @@ static inline void adm5120_tx(struct adm5120_dma *dma, struct sk_buff **skbl, } } -irqreturn_t adm5120_sw_irq(int irq, void *dev_id, struct pt_regs *regs) +static irqreturn_t adm5120_sw_irq(int irq, void *dev_id) { unsigned long intreg; @@ -385,7 +385,7 @@ static int __init adm5120_sw_init(void) int i, err; struct net_device *dev; - err = request_irq(SW_IRQ, adm5120_sw_irq, 0, "ethernet switch", NULL); + err = request_irq(SW_IRQ, adm5120_sw_irq, SA_SHIRQ, "ethernet switch", NULL); if (err) goto out; -- 2.25.1