]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/char/lp.c
Pull align-sig-frame into release branch
[linux-2.6-omap-h63xx.git] / drivers / char / lp.c
index 2afb9038dbc5752abbdf55dc1dc3c8a9737bd841..e572605252935c8562b64dbfcb6ed483fbd10756 100644 (file)
@@ -805,7 +805,7 @@ static int lp_register(int nr, struct parport *port)
        if (reset)
                lp_reset(nr);
 
-       class_device_create(lp_class, MKDEV(LP_MAJOR, nr), NULL,
+       class_device_create(lp_class, NULL, MKDEV(LP_MAJOR, nr), NULL,
                                "lp%d", nr);
        devfs_mk_cdev(MKDEV(LP_MAJOR, nr), S_IFCHR | S_IRUGO | S_IWUGO,
                        "printers/%d", nr);