1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

Fix warnings

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6742 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian
2007-03-28 10:49:01 +00:00
parent efd63951ec
commit a450bedff1

View File

@@ -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; unsigned long intreg;
@@ -385,7 +385,7 @@ static int __init adm5120_sw_init(void)
int i, err; int i, err;
struct net_device *dev; 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) if (err)
goto out; goto out;