X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=drivers%2Fchar%2Fdsp56k.c;h=8693835cb2d51f9f8868f1d2b6971e7d8942b69f;hb=ec1890c5df451799dec969a3581ff72e1934b5ee;hp=26271e3ca82371542b9395fea1815e0b71f43290;hpb=d6ac1a7910d22626bc77e73db091e00b810715f4;p=powerpc.git diff --git a/drivers/char/dsp56k.c b/drivers/char/dsp56k.c index 26271e3ca8..8693835cb2 100644 --- a/drivers/char/dsp56k.c +++ b/drivers/char/dsp56k.c @@ -515,7 +515,7 @@ static int __init dsp56k_init_driver(void) err = PTR_ERR(dsp56k_class); goto out_chrdev; } - class_device_create(dsp56k_class, MKDEV(DSP56K_MAJOR, 0), NULL, "dsp56k"); + class_device_create(dsp56k_class, NULL, MKDEV(DSP56K_MAJOR, 0), NULL, "dsp56k"); err = devfs_mk_cdev(MKDEV(DSP56K_MAJOR, 0), S_IFCHR | S_IRUSR | S_IWUSR, "dsp56k");