[PATCH] network: axnet_cs.c: add missing 'PRIV' in ei_rx_overrun
authorKomuro <komurojun-mbn@nifty.com>
Sun, 9 Apr 2006 02:21:10 +0000 (11:21 +0900)
committerJeff Garzik <jeff@garzik.org>
Wed, 12 Apr 2006 22:04:03 +0000 (18:04 -0400)
Signed-off-by: komurojun-mbn@nifty.com
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/pcmcia/axnet_cs.c

index 56233af..448a094 100644 (file)
@@ -1560,7 +1560,7 @@ static void ei_receive(struct net_device *dev)
 
 static void ei_rx_overrun(struct net_device *dev)
 {
-       axnet_dev_t *info = (axnet_dev_t *)dev;
+       axnet_dev_t *info = PRIV(dev);
        long e8390_base = dev->base_addr;
        unsigned char was_txing, must_resend = 0;
        struct ei_device *ei_local = (struct ei_device *) netdev_priv(dev);