]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/char/ppdev.c
Merge master.kernel.org:/pub/scm/linux/kernel/git/sridhar/lksctp-2.6
[linux-2.6-omap-h63xx.git] / drivers / char / ppdev.c
index 0e22880432bca3d8c89be8c7b0a6ffabbd05fc03..306ee0f091a4eb6e3920f5cea458b9a616b6ac59 100644 (file)
@@ -752,7 +752,7 @@ static struct file_operations pp_fops = {
 
 static void pp_attach(struct parport *port)
 {
-       class_device_create(ppdev_class, MKDEV(PP_MAJOR, port->number),
+       class_device_create(ppdev_class, NULL, MKDEV(PP_MAJOR, port->number),
                        NULL, "parport%d", port->number);
 }