]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/ppc/8260_io/enet.c
[netdrvr] irq handler minor cleanups in several drivers
[linux-2.6-omap-h63xx.git] / arch / ppc / 8260_io / enet.c
index 615b6583d9b01084831bd8eea5ed00aecf9ab30b..06bb5b77ea6245ed370dac0251fea8ee92d114e9 100644 (file)
@@ -272,7 +272,7 @@ scc_enet_timeout(struct net_device *dev)
  * This is called from the CPM handler, not the MPC core interrupt.
  */
 static irqreturn_t
-scc_enet_interrupt(int irq, void * dev_id)
+scc_enet_interrupt(int irq, void *dev_id)
 {
        struct  net_device *dev = dev_id;
        volatile struct scc_enet_private *cep;
@@ -280,7 +280,7 @@ scc_enet_interrupt(int irq, void * dev_id)
        ushort  int_events;
        int     must_restart;
 
-       cep = (struct scc_enet_private *)dev->priv;
+       cep = dev->priv;
 
        /* Get the interrupt events that caused us to be here.
        */