summaryrefslogtreecommitdiff
path: root/target/linux/rdc-2.6/files/drivers/net/r6040.c
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2007-04-01 21:33:42 +0000
committerFlorian Fainelli <florian@openwrt.org>2007-04-01 21:33:42 +0000
commit69673570cad93f73308cdfaefc952dead4a94bba (patch)
tree3d77848b9d97f58ac3639ff60352ae9173e3f6ec /target/linux/rdc-2.6/files/drivers/net/r6040.c
parent4221581d908b627f60a2b0216887e513e1c5bc06 (diff)
downloadmtk-20170518-69673570cad93f73308cdfaefc952dead4a94bba.zip
mtk-20170518-69673570cad93f73308cdfaefc952dead4a94bba.tar.gz
mtk-20170518-69673570cad93f73308cdfaefc952dead4a94bba.tar.bz2
Fix the warning
SVN-Revision: 6809
Diffstat (limited to 'target/linux/rdc-2.6/files/drivers/net/r6040.c')
-rw-r--r--target/linux/rdc-2.6/files/drivers/net/r6040.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/rdc-2.6/files/drivers/net/r6040.c b/target/linux/rdc-2.6/files/drivers/net/r6040.c
index 95210d9..81648ac 100644
--- a/target/linux/rdc-2.6/files/drivers/net/r6040.c
+++ b/target/linux/rdc-2.6/files/drivers/net/r6040.c
@@ -183,7 +183,7 @@ MODULE_PARM_DESC(adr_table, "MAC Address (assigned)");
static int r6040_open(struct net_device *dev);
static int r6040_start_xmit(struct sk_buff *skb, struct net_device *dev);
-static irqreturn_t r6040_interrupt(int irq, void *dev_id, struct pt_regs *regs);
+static irqreturn_t r6040_interrupt(int irq, void *dev_id);
static struct net_device_stats *r6040_get_stats(struct net_device *dev);
static int r6040_close(struct net_device *dev);
static void set_multicast_list(struct net_device *dev);
@@ -418,7 +418,7 @@ r6040_start_xmit(struct sk_buff *skb, struct net_device *dev)
/* The RDC interrupt handler. */
static irqreturn_t
-r6040_interrupt(int irq, void *dev_id, struct pt_regs *regs)
+r6040_interrupt(int irq, void *dev_id)
{
struct net_device *dev = dev_id;
struct r6040_private *lp;