]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/parport/share.c
Driver core: make sysfs uevent-attributes static
[linux-2.6-omap-h63xx.git] / drivers / parport / share.c
index 94dc506b83d13ea2089105f709c9bbd62d102c10..cd66442acfee71126414fe0a1578454406aa5297 100644 (file)
@@ -365,6 +365,11 @@ void parport_announce_port (struct parport *port)
        parport_daisy_init(port);
 #endif
 
+       if (!port->dev)
+               printk(KERN_WARNING "%s: fix this legacy "
+                               "no-device port driver!\n",
+                               port->name);
+
        parport_proc_register(port);
        mutex_lock(&registration_lock);
        spin_lock_irq(&parportlist_lock);
@@ -519,7 +524,7 @@ void parport_remove_port(struct parport *port)
 struct pardevice *
 parport_register_device(struct parport *port, const char *name,
                        int (*pf)(void *), void (*kf)(void *),
-                       void (*irq_func)(int, void *, struct pt_regs *), 
+                       void (*irq_func)(int, void *), 
                        int flags, void *handle)
 {
        struct pardevice *tmp;