summaryrefslogtreecommitdiffstats
path: root/target/linux/adm5120-2.6/files/drivers/net
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-03-28 10:49:01 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-03-28 10:49:01 +0000
commita450bedff1556747b80827078e7e6989227d5111 (patch)
tree822881b8f5a5ae6ecaa96a0f5c81d863f0661a82 /target/linux/adm5120-2.6/files/drivers/net
parentefd63951ec91ebab2e6a73369a94b475ee75dafb (diff)
Fix warnings
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6742 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/adm5120-2.6/files/drivers/net')
-rw-r--r--target/linux/adm5120-2.6/files/drivers/net/adm5120sw.c4
1 files 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 c75ad4abb..f6a0c74d8 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;