]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/amd8111e.c
Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc
[linux-2.6-omap-h63xx.git] / drivers / net / amd8111e.c
index a77df854032cf56724aa5120890007e5a7304381..ef65e5917c8fcf7014ca97f7b72b796233d9e330 100644 (file)
@@ -1257,7 +1257,7 @@ static int amd8111e_calc_coalesce(struct net_device *dev)
 /*
 This is device interrupt function. It handles transmit, receive,link change and hardware timer interrupts.
 */
-static irqreturn_t amd8111e_interrupt(int irq, void *dev_id, struct pt_regs *regs)
+static irqreturn_t amd8111e_interrupt(int irq, void *dev_id)
 {
 
        struct net_device * dev = (struct net_device *) dev_id;
@@ -1336,7 +1336,7 @@ static void amd8111e_poll(struct net_device *dev)
        unsigned long flags;
        local_save_flags(flags);
        local_irq_disable();
-       amd8111e_interrupt(0, dev, NULL);
+       amd8111e_interrupt(0, dev);
        local_irq_restore(flags);
 }
 #endif
@@ -1645,7 +1645,7 @@ static int amd8111e_set_wol(struct net_device *dev, struct ethtool_wolinfo *wol_
        return 0;
 }
 
-static struct ethtool_ops ops = {
+static const struct ethtool_ops ops = {
        .get_drvinfo = amd8111e_get_drvinfo,
        .get_regs_len = amd8111e_get_regs_len,
        .get_regs = amd8111e_get_regs,