V4L/DVB (9046): Add support for Non-Pro version of Pinnacle PCTV HD USB Stick
[linux-2.6] / drivers / char / pcmcia / cm4040_cs.c
index 6181f8a..0b5934b 100644 (file)
@@ -653,7 +653,8 @@ static int reader_probe(struct pcmcia_device *link)
                return ret;
        }
 
-       device_create(cmx_class, NULL, MKDEV(major, i), "cmx%d", i);
+       device_create_drvdata(cmx_class, NULL, MKDEV(major, i), NULL,
+                             "cmx%d", i);
 
        return 0;
 }