]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/char/dsp56k.c
device create: char: convert device_create_drvdata to device_create
[linux-2.6-omap-h63xx.git] / drivers / char / dsp56k.c
index ca7c72a486b2f1391d57b07621c19e28cb37d65d..85832ab924e662ffa3f1d4cf588c1b5fb7becab2 100644 (file)
@@ -508,8 +508,8 @@ static int __init dsp56k_init_driver(void)
                err = PTR_ERR(dsp56k_class);
                goto out_chrdev;
        }
-       device_create_drvdata(dsp56k_class, NULL, MKDEV(DSP56K_MAJOR, 0),
-                             NULL, "dsp56k");
+       device_create(dsp56k_class, NULL, MKDEV(DSP56K_MAJOR, 0), NULL,
+                     "dsp56k");
 
        printk(banner);
        goto out;