]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/char/stallion.c
device create: char: convert device_create to device_create_drvdata
[linux-2.6-omap-h63xx.git] / drivers / char / stallion.c
index 0243efb0be957df493937e1fbfb5ad44b215d486..45aeeeab9f4a925b383e80b53bd8c69b4ccc729e 100644 (file)
@@ -4753,8 +4753,8 @@ static int __init stallion_module_init(void)
        if (IS_ERR(stallion_class))
                printk("STALLION: failed to create class\n");
        for (i = 0; i < 4; i++)
-               device_create(stallion_class, NULL, MKDEV(STL_SIOMEMMAJOR, i),
-                             "staliomem%d", i);
+               device_create_drvdata(stallion_class, NULL, MKDEV(STL_SIOMEMMAJOR, i),
+                                     NULL, "staliomem%d", i);
 
        return 0;
 err_unrtty: