diff options
Diffstat (limited to 'drivers/input/mouse/gpio_mouse.c')
-rw-r--r-- | drivers/input/mouse/gpio_mouse.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/input/mouse/gpio_mouse.c b/drivers/input/mouse/gpio_mouse.c index 0936d6ba015c..339290184871 100644 --- a/drivers/input/mouse/gpio_mouse.c +++ b/drivers/input/mouse/gpio_mouse.c | |||
@@ -171,10 +171,14 @@ static int __devexit gpio_mouse_remove(struct platform_device *pdev) | |||
171 | return 0; | 171 | return 0; |
172 | } | 172 | } |
173 | 173 | ||
174 | /* work with hotplug and coldplug */ | ||
175 | MODULE_ALIAS("platform:gpio_mouse"); | ||
176 | |||
174 | struct platform_driver gpio_mouse_device_driver = { | 177 | struct platform_driver gpio_mouse_device_driver = { |
175 | .remove = __devexit_p(gpio_mouse_remove), | 178 | .remove = __devexit_p(gpio_mouse_remove), |
176 | .driver = { | 179 | .driver = { |
177 | .name = "gpio_mouse", | 180 | .name = "gpio_mouse", |
181 | .owner = THIS_MODULE, | ||
178 | } | 182 | } |
179 | }; | 183 | }; |
180 | 184 | ||