Input: add MODULE_ALIAS() to hotpluggable platform modules
Since 43cc71eed1
, 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>
This commit is contained in:

committed by
Dmitry Torokhov

parent
b39b04403b
commit
d7b5247bbc
@@ -156,11 +156,15 @@ static int __devexit aaedkbd_remove(struct platform_device *pdev)
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* work with hotplug and coldplug */
|
||||
MODULE_ALIAS("platform:aaed2000-keyboard");
|
||||
|
||||
static struct platform_driver aaedkbd_driver = {
|
||||
.probe = aaedkbd_probe,
|
||||
.remove = __devexit_p(aaedkbd_remove),
|
||||
.driver = {
|
||||
.name = "aaed2000-keyboard",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user