diff options
Diffstat (limited to 'arch/ppc')
-rw-r--r-- | arch/ppc/8260_io/enet.c | 2 | ||||
-rw-r--r-- | arch/ppc/8260_io/fcc_enet.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/ppc/8260_io/enet.c b/arch/ppc/8260_io/enet.c index 25ef55bacd99..ec1defea9c1e 100644 --- a/arch/ppc/8260_io/enet.c +++ b/arch/ppc/8260_io/enet.c | |||
@@ -418,7 +418,7 @@ scc_enet_rx(struct net_device *dev) | |||
418 | struct sk_buff *skb; | 418 | struct sk_buff *skb; |
419 | ushort pkt_len; | 419 | ushort pkt_len; |
420 | 420 | ||
421 | cep = (struct scc_enet_private *)dev->priv; | 421 | cep = dev->priv; |
422 | 422 | ||
423 | /* First, grab all of the stats for the incoming packet. | 423 | /* First, grab all of the stats for the incoming packet. |
424 | * These get messed up if we get called due to a busy condition. | 424 | * These get messed up if we get called due to a busy condition. |
diff --git a/arch/ppc/8260_io/fcc_enet.c b/arch/ppc/8260_io/fcc_enet.c index a3a27dafff1f..bcc3aa9d04f3 100644 --- a/arch/ppc/8260_io/fcc_enet.c +++ b/arch/ppc/8260_io/fcc_enet.c | |||
@@ -682,7 +682,7 @@ fcc_enet_rx(struct net_device *dev) | |||
682 | struct sk_buff *skb; | 682 | struct sk_buff *skb; |
683 | ushort pkt_len; | 683 | ushort pkt_len; |
684 | 684 | ||
685 | cep = (struct fcc_enet_private *)dev->priv; | 685 | cep = dev->priv; |
686 | 686 | ||
687 | /* First, grab all of the stats for the incoming packet. | 687 | /* First, grab all of the stats for the incoming packet. |
688 | * These get messed up if we get called due to a busy condition. | 688 | * These get messed up if we get called due to a busy condition. |