e1000: increment version to 7.3.15-k2
[linux-2.6-block.git] / drivers / net / sunhme.c
index 45d07faf7b96fa9524501eec36db576bfe9f30cf..9d7cd130c19db7b9946535e856bd6fb6d5773756 100644 (file)
@@ -2095,8 +2095,8 @@ static void happy_meal_rx(struct happy_meal *hp, struct net_device *dev)
 
 static irqreturn_t happy_meal_interrupt(int irq, void *dev_id)
 {
-       struct net_device *dev = (struct net_device *) dev_id;
-       struct happy_meal *hp  = dev->priv;
+       struct net_device *dev = dev_id;
+       struct happy_meal *hp  = netdev_priv(dev);
        u32 happy_status       = hme_read32(hp, hp->gregs + GREG_STAT);
 
        HMD(("happy_meal_interrupt: status=%08x ", happy_status));