From: Francois Romieu Date: Fri, 9 Mar 2012 22:24:34 +0000 (+0100) Subject: sungem: stop using net_device.{base_addr, irq}. X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=4ee39fd1a97115f537664cf18dc85bda916c24e5;p=linux-beck.git sungem: stop using net_device.{base_addr, irq}. Signed-off-by: Francois Romieu --- diff --git a/drivers/net/ethernet/sun/sungem.c b/drivers/net/ethernet/sun/sungem.c index ba041596e046..8707d59ed545 100644 --- a/drivers/net/ethernet/sun/sungem.c +++ b/drivers/net/ethernet/sun/sungem.c @@ -2899,7 +2899,6 @@ static int __devinit gem_init_one(struct pci_dev *pdev, } gp->pdev = pdev; - dev->base_addr = (long) pdev; gp->dev = dev; gp->msg_enable = DEFAULT_MSG; @@ -2973,7 +2972,6 @@ static int __devinit gem_init_one(struct pci_dev *pdev, netif_napi_add(dev, &gp->napi, gem_poll, 64); dev->ethtool_ops = &gem_ethtool_ops; dev->watchdog_timeo = 5 * HZ; - dev->irq = pdev->irq; dev->dma = 0; /* Set that now, in case PM kicks in now */