aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ray_cs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/ray_cs.c')
-rw-r--r--drivers/net/wireless/ray_cs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ray_cs.c b/drivers/net/wireless/ray_cs.c
index 66e2d10cd754..5e0f4c3eac38 100644
--- a/drivers/net/wireless/ray_cs.c
+++ b/drivers/net/wireless/ray_cs.c
@@ -488,7 +488,7 @@ static int ray_config(struct pcmcia_device *link)
488 return -ENODEV; 488 return -ENODEV;
489 } 489 }
490 490
491 SET_NETDEV_DEV(dev, &handle_to_dev(link)); 491 SET_NETDEV_DEV(dev, &link->dev);
492 i = register_netdev(dev); 492 i = register_netdev(dev);
493 if (i != 0) { 493 if (i != 0) {
494 printk("ray_config register_netdev() failed\n"); 494 printk("ray_config register_netdev() failed\n");