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
@@ -359,6 +359,7 @@ struct platform_driver bfin_kpad_device_driver = {
|
||||
.remove = __devexit_p(bfin_kpad_remove),
|
||||
.driver = {
|
||||
.name = DRV_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
}
|
||||
};
|
||||
|
||||
@@ -378,3 +379,4 @@ module_exit(bfin_kpad_exit);
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_AUTHOR("Michael Hennerich <hennerich@blackfin.uclinux.org>");
|
||||
MODULE_DESCRIPTION("Keypad driver for BF54x Processors");
|
||||
MODULE_ALIAS("platform:bf54x-keys");
|
||||
|
Reference in New Issue
Block a user