aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/pcmcia
diff options
context:
space:
mode:
authorKomuro <komurojun-mbn@nifty.com>2006-04-09 11:21:10 +0900
committerJeff Garzik <jeff@garzik.org>2006-04-12 18:04:03 -0400
commitff768cd7139ab368bc2b97e7bd6fa592f20e1950 (patch)
treef0e9ee62fdee7612b87bef600393c5ce1d5697a0 /drivers/net/pcmcia
parent5636f72794b42d31b2660064ef2c17f90816b3b1 (diff)
downloadkernel_samsung_smdk4412-ff768cd7139ab368bc2b97e7bd6fa592f20e1950.zip
kernel_samsung_smdk4412-ff768cd7139ab368bc2b97e7bd6fa592f20e1950.tar.gz
kernel_samsung_smdk4412-ff768cd7139ab368bc2b97e7bd6fa592f20e1950.tar.bz2
[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')
-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 56233af..448a094 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);