diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2008-04-18 06:24:42 +0200 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2008-04-24 19:24:59 +0200 |
commit | d7b5247bbcfba2bc96d4b3dec9086a4f1a31363b (patch) | |
tree | a5783cceafbf50812fade605fba0b12e1b02cf0b /drivers/input/misc | |
parent | Input: drivers/char/keyboard.c - use time_after (diff) | |
download | linux-d7b5247bbcfba2bc96d4b3dec9086a4f1a31363b.tar.xz linux-d7b5247bbcfba2bc96d4b3dec9086a4f1a31363b.zip |
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/misc')
-rw-r--r-- | drivers/input/misc/cobalt_btns.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/input/misc/cobalt_btns.c b/drivers/input/misc/cobalt_btns.c index 5511ef006a66..6a1f48b76e32 100644 --- a/drivers/input/misc/cobalt_btns.c +++ b/drivers/input/misc/cobalt_btns.c @@ -148,6 +148,9 @@ static int __devexit cobalt_buttons_remove(struct platform_device *pdev) return 0; } +/* work with hotplug and coldplug */ +MODULE_ALIAS("platform:Cobalt buttons"); + static struct platform_driver cobalt_buttons_driver = { .probe = cobalt_buttons_probe, .remove = __devexit_p(cobalt_buttons_remove), |