aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/atmel_cs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/atmel_cs.c')
-rw-r--r--drivers/net/wireless/atmel_cs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/atmel_cs.c b/drivers/net/wireless/atmel_cs.c
index 78385722a768..18a58b859223 100644
--- a/drivers/net/wireless/atmel_cs.c
+++ b/drivers/net/wireless/atmel_cs.c
@@ -260,7 +260,7 @@ static int atmel_config(struct pcmcia_device *link)
260 struct pcmcia_device_id *did; 260 struct pcmcia_device_id *did;
261 261
262 dev = link->priv; 262 dev = link->priv;
263 did = dev_get_drvdata(&handle_to_dev(link)); 263 did = dev_get_drvdata(&link->dev);
264 264
265 dev_dbg(&link->dev, "atmel_config\n"); 265 dev_dbg(&link->dev, "atmel_config\n");
266 266
@@ -309,7 +309,7 @@ static int atmel_config(struct pcmcia_device *link)
309 init_atmel_card(link->irq.AssignedIRQ, 309 init_atmel_card(link->irq.AssignedIRQ,
310 link->io.BasePort1, 310 link->io.BasePort1,
311 did ? did->driver_info : ATMEL_FW_TYPE_NONE, 311 did ? did->driver_info : ATMEL_FW_TYPE_NONE,
312 &handle_to_dev(link), 312 &link->dev,
313 card_present, 313 card_present,
314 link); 314 link);
315 if (!((local_info_t*)link->priv)->eth_dev) 315 if (!((local_info_t*)link->priv)->eth_dev)