diff options
Diffstat (limited to 'drivers/input')
-rw-r--r-- | drivers/input/serio/serio.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/input/serio/serio.c b/drivers/input/serio/serio.c index f0ce822c1028..17c8c63cbe1a 100644 --- a/drivers/input/serio/serio.c +++ b/drivers/input/serio/serio.c | |||
@@ -45,7 +45,7 @@ EXPORT_SYMBOL(serio_interrupt); | |||
45 | EXPORT_SYMBOL(__serio_register_port); | 45 | EXPORT_SYMBOL(__serio_register_port); |
46 | EXPORT_SYMBOL(serio_unregister_port); | 46 | EXPORT_SYMBOL(serio_unregister_port); |
47 | EXPORT_SYMBOL(serio_unregister_child_port); | 47 | EXPORT_SYMBOL(serio_unregister_child_port); |
48 | EXPORT_SYMBOL(serio_register_driver); | 48 | EXPORT_SYMBOL(__serio_register_driver); |
49 | EXPORT_SYMBOL(serio_unregister_driver); | 49 | EXPORT_SYMBOL(serio_unregister_driver); |
50 | EXPORT_SYMBOL(serio_open); | 50 | EXPORT_SYMBOL(serio_open); |
51 | EXPORT_SYMBOL(serio_close); | 51 | EXPORT_SYMBOL(serio_close); |
@@ -789,12 +789,14 @@ static void serio_attach_driver(struct serio_driver *drv) | |||
789 | drv->driver.name, error); | 789 | drv->driver.name, error); |
790 | } | 790 | } |
791 | 791 | ||
792 | int serio_register_driver(struct serio_driver *drv) | 792 | int __serio_register_driver(struct serio_driver *drv, struct module *owner, const char *mod_name) |
793 | { | 793 | { |
794 | int manual_bind = drv->manual_bind; | 794 | int manual_bind = drv->manual_bind; |
795 | int error; | 795 | int error; |
796 | 796 | ||
797 | drv->driver.bus = &serio_bus; | 797 | drv->driver.bus = &serio_bus; |
798 | drv->driver.owner = owner; | ||
799 | drv->driver.mod_name = mod_name; | ||
798 | 800 | ||
799 | /* | 801 | /* |
800 | * Temporarily disable automatic binding because probing | 802 | * Temporarily disable automatic binding because probing |