diff options
Diffstat (limited to 'drivers/char/lp.c')
-rw-r--r-- | drivers/char/lp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/lp.c b/drivers/char/lp.c index b51d08be0bcf..2f04fed69f19 100644 --- a/drivers/char/lp.c +++ b/drivers/char/lp.c | |||
@@ -803,7 +803,7 @@ static int lp_register(int nr, struct parport *port) | |||
803 | if (reset) | 803 | if (reset) |
804 | lp_reset(nr); | 804 | lp_reset(nr); |
805 | 805 | ||
806 | class_device_create(lp_class, NULL, MKDEV(LP_MAJOR, nr), NULL, | 806 | class_device_create(lp_class, NULL, MKDEV(LP_MAJOR, nr), port->dev, |
807 | "lp%d", nr); | 807 | "lp%d", nr); |
808 | 808 | ||
809 | printk(KERN_INFO "lp%d: using %s (%s).\n", nr, port->name, | 809 | printk(KERN_INFO "lp%d: using %s (%s).\n", nr, port->name, |