summaryrefslogtreecommitdiffstats
path: root/drivers/char/ppdev.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/ppdev.c')
-rw-r--r--drivers/char/ppdev.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/ppdev.c b/drivers/char/ppdev.c
index af52cf98f..ae4b9e112 100644
--- a/drivers/char/ppdev.c
+++ b/drivers/char/ppdev.c
@@ -106,6 +106,7 @@ static void pp_attach (struct parport *port)
}
add->next = pp_port_list;
+ add->port = port;
down (&pp_port_list_lock);
pp_port_list = add;
up (&pp_port_list_lock);