summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/auxdisplay/ks0108.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/auxdisplay/ks0108.c')
-rw-r--r--kernel/drivers/auxdisplay/ks0108.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/drivers/auxdisplay/ks0108.c b/kernel/drivers/auxdisplay/ks0108.c
index 5b9385239..0d752851a 100644
--- a/kernel/drivers/auxdisplay/ks0108.c
+++ b/kernel/drivers/auxdisplay/ks0108.c
@@ -139,6 +139,7 @@ static int __init ks0108_init(void)
ks0108_pardevice = parport_register_device(ks0108_parport, KS0108_NAME,
NULL, NULL, NULL, PARPORT_DEV_EXCL, NULL);
+ parport_put_port(ks0108_parport);
if (ks0108_pardevice == NULL) {
printk(KERN_ERR KS0108_NAME ": ERROR: "
"parport didn't register new device\n");