aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/keyboard/corgikbd.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-04-18 00:24:42 -0400
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2008-04-24 13:24:59 -0400
commitd7b5247bbcfba2bc96d4b3dec9086a4f1a31363b (patch)
treea5783cceafbf50812fade605fba0b12e1b02cf0b /drivers/input/keyboard/corgikbd.c
parentb39b04403bba4f807ee6e57ae2f4407187588fcd (diff)
downloadkernel_samsung_smdk4412-d7b5247bbcfba2bc96d4b3dec9086a4f1a31363b.zip
kernel_samsung_smdk4412-d7b5247bbcfba2bc96d4b3dec9086a4f1a31363b.tar.gz
kernel_samsung_smdk4412-d7b5247bbcfba2bc96d4b3dec9086a4f1a31363b.tar.bz2
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/corgikbd.c')
-rw-r--r--drivers/input/keyboard/corgikbd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/input/keyboard/corgikbd.c b/drivers/input/keyboard/corgikbd.c
index 790fed3..5187c0c 100644
--- a/drivers/input/keyboard/corgikbd.c
+++ b/drivers/input/keyboard/corgikbd.c
@@ -392,6 +392,7 @@ static struct platform_driver corgikbd_driver = {
.resume = corgikbd_resume,
.driver = {
.name = "corgi-keyboard",
+ .owner = THIS_MODULE,
},
};
@@ -411,3 +412,4 @@ module_exit(corgikbd_exit);
MODULE_AUTHOR("Richard Purdie <rpurdie@rpsys.net>");
MODULE_DESCRIPTION("Corgi Keyboard Driver");
MODULE_LICENSE("GPLv2");
+MODULE_ALIAS("platform:corgi-keyboard");