diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2008-04-18 00:24:42 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2008-04-24 13:24:59 -0400 |
commit | d7b5247bbcfba2bc96d4b3dec9086a4f1a31363b (patch) | |
tree | a5783cceafbf50812fade605fba0b12e1b02cf0b /drivers/input/keyboard/gpio_keys.c | |
parent | b39b04403bba4f807ee6e57ae2f4407187588fcd (diff) |
Input: add MODULE_ALIAS() to hotpluggable platform modules
Since 43cc71eed1250755986da4c0f9898f9a635cb3bf, the platform modalias
is prefixed with "platform:". Add MODULE_ALIAS() to the hotpluggable
"input" platform drivers, to re-enable auto loading.
[dbrownell@users.sourceforge.net: more drivers, registration fixes]
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/keyboard/gpio_keys.c')
-rw-r--r-- | drivers/input/keyboard/gpio_keys.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/input/keyboard/gpio_keys.c b/drivers/input/keyboard/gpio_keys.c index a54dc15f9005..bbd00c3fe98c 100644 --- a/drivers/input/keyboard/gpio_keys.c +++ b/drivers/input/keyboard/gpio_keys.c | |||
@@ -214,6 +214,7 @@ struct platform_driver gpio_keys_device_driver = { | |||
214 | .resume = gpio_keys_resume, | 214 | .resume = gpio_keys_resume, |
215 | .driver = { | 215 | .driver = { |
216 | .name = "gpio-keys", | 216 | .name = "gpio-keys", |
217 | .owner = THIS_MODULE, | ||
217 | } | 218 | } |
218 | }; | 219 | }; |
219 | 220 | ||
@@ -233,3 +234,4 @@ module_exit(gpio_keys_exit); | |||
233 | MODULE_LICENSE("GPL"); | 234 | MODULE_LICENSE("GPL"); |
234 | MODULE_AUTHOR("Phil Blundell <pb@handhelds.org>"); | 235 | MODULE_AUTHOR("Phil Blundell <pb@handhelds.org>"); |
235 | MODULE_DESCRIPTION("Keyboard driver for CPU GPIOs"); | 236 | MODULE_DESCRIPTION("Keyboard driver for CPU GPIOs"); |
237 | MODULE_ALIAS("platform:gpio-keys"); | ||