aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ppc
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ppc')
-rw-r--r--arch/ppc/8260_io/enet.c4
-rw-r--r--arch/ppc/8260_io/fcc_enet.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/arch/ppc/8260_io/enet.c b/arch/ppc/8260_io/enet.c
index 615b6583d9b0..06bb5b77ea62 100644
--- a/arch/ppc/8260_io/enet.c
+++ b/arch/ppc/8260_io/enet.c
@@ -272,7 +272,7 @@ scc_enet_timeout(struct net_device *dev)
272 * This is called from the CPM handler, not the MPC core interrupt. 272 * This is called from the CPM handler, not the MPC core interrupt.
273 */ 273 */
274static irqreturn_t 274static irqreturn_t
275scc_enet_interrupt(int irq, void * dev_id) 275scc_enet_interrupt(int irq, void *dev_id)
276{ 276{
277 struct net_device *dev = dev_id; 277 struct net_device *dev = dev_id;
278 volatile struct scc_enet_private *cep; 278 volatile struct scc_enet_private *cep;
@@ -280,7 +280,7 @@ scc_enet_interrupt(int irq, void * dev_id)
280 ushort int_events; 280 ushort int_events;
281 int must_restart; 281 int must_restart;
282 282
283 cep = (struct scc_enet_private *)dev->priv; 283 cep = dev->priv;
284 284
285 /* Get the interrupt events that caused us to be here. 285 /* Get the interrupt events that caused us to be here.
286 */ 286 */
diff --git a/arch/ppc/8260_io/fcc_enet.c b/arch/ppc/8260_io/fcc_enet.c
index 6f3ed6a72e0b..a3a27dafff1f 100644
--- a/arch/ppc/8260_io/fcc_enet.c
+++ b/arch/ppc/8260_io/fcc_enet.c
@@ -524,7 +524,7 @@ fcc_enet_timeout(struct net_device *dev)
524 524
525/* The interrupt handler. */ 525/* The interrupt handler. */
526static irqreturn_t 526static irqreturn_t
527fcc_enet_interrupt(int irq, void * dev_id) 527fcc_enet_interrupt(int irq, void *dev_id)
528{ 528{
529 struct net_device *dev = dev_id; 529 struct net_device *dev = dev_id;
530 volatile struct fcc_enet_private *cep; 530 volatile struct fcc_enet_private *cep;
@@ -532,7 +532,7 @@ fcc_enet_interrupt(int irq, void * dev_id)
532 ushort int_events; 532 ushort int_events;
533 int must_restart; 533 int must_restart;
534 534
535 cep = (struct fcc_enet_private *)dev->priv; 535 cep = dev->priv;
536 536
537 /* Get the interrupt events that caused us to be here. 537 /* Get the interrupt events that caused us to be here.
538 */ 538 */