summaryrefslogtreecommitdiffstats
path: root/drivers/net/pcmcia/axnet_cs.c
diff options
context:
space:
mode:
authorKomuro <komurojun-mbn@nifty.com>2006-04-09 04:21:10 +0200
committerJeff Garzik <jeff@garzik.org>2006-04-13 00:04:03 +0200
commitff768cd7139ab368bc2b97e7bd6fa592f20e1950 (patch)
treef0e9ee62fdee7612b87bef600393c5ce1d5697a0 /drivers/net/pcmcia/axnet_cs.c
parent[PATCH] dlink pci cards using wrong driver (diff)
downloadlinux-ff768cd7139ab368bc2b97e7bd6fa592f20e1950.tar.xz
linux-ff768cd7139ab368bc2b97e7bd6fa592f20e1950.zip
[PATCH] network: axnet_cs.c: add missing 'PRIV' in ei_rx_overrun
Signed-off-by: komurojun-mbn@nifty.com Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/pcmcia/axnet_cs.c')
-rw-r--r--drivers/net/pcmcia/axnet_cs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/pcmcia/axnet_cs.c b/drivers/net/pcmcia/axnet_cs.c
index 56233afcb2b3..448a09488529 100644
--- a/drivers/net/pcmcia/axnet_cs.c
+++ b/drivers/net/pcmcia/axnet_cs.c
@@ -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);