aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/tokenring/tmspci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/tokenring/tmspci.c')
-rw-r--r--drivers/net/tokenring/tmspci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/tokenring/tmspci.c b/drivers/net/tokenring/tmspci.c
index 3b2f00b9b7bd..aec75c930c21 100644
--- a/drivers/net/tokenring/tmspci.c
+++ b/drivers/net/tokenring/tmspci.c
@@ -149,7 +149,7 @@ static int __devinit tms_pci_attach(struct pci_dev *pdev, const struct pci_devic
149 goto err_out_irq; 149 goto err_out_irq;
150 } 150 }
151 151
152 tp = dev->priv; 152 tp = netdev_priv(dev);
153 tp->setnselout = tms_pci_setnselout_pins; 153 tp->setnselout = tms_pci_setnselout_pins;
154 154
155 tp->sifreadb = tms_pci_sifreadb; 155 tp->sifreadb = tms_pci_sifreadb;
@@ -210,7 +210,7 @@ static void tms_pci_read_eeprom(struct net_device *dev)
210static unsigned short tms_pci_setnselout_pins(struct net_device *dev) 210static unsigned short tms_pci_setnselout_pins(struct net_device *dev)
211{ 211{
212 unsigned short val = 0; 212 unsigned short val = 0;
213 struct net_local *tp = dev->priv; 213 struct net_local *tp = netdev_priv(dev);
214 struct card_info *cardinfo = tp->tmspriv; 214 struct card_info *cardinfo = tp->tmspriv;
215 215
216 if(tp->DataRate == SPEED_4) 216 if(tp->DataRate == SPEED_4)