aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/parport/share.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/parport/share.c')
-rw-r--r--drivers/parport/share.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/parport/share.c b/drivers/parport/share.c
index fd9129e424f9..cd66442acfee 100644
--- a/drivers/parport/share.c
+++ b/drivers/parport/share.c
@@ -365,6 +365,11 @@ void parport_announce_port (struct parport *port)
365 parport_daisy_init(port); 365 parport_daisy_init(port);
366#endif 366#endif
367 367
368 if (!port->dev)
369 printk(KERN_WARNING "%s: fix this legacy "
370 "no-device port driver!\n",
371 port->name);
372
368 parport_proc_register(port); 373 parport_proc_register(port);
369 mutex_lock(&registration_lock); 374 mutex_lock(&registration_lock);
370 spin_lock_irq(&parportlist_lock); 375 spin_lock_irq(&parportlist_lock);