summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2015-08-03 13:29:29 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2015-08-03 14:11:46 -0700
commitb6e26546cc08e870da5413a3fcccc100eb2192c6 (patch)
treef6aefe89859205659ae93b5c022c8051bf2e3642
parentc20bc5502d151ca731ebc672b95aa77e2bf32c8c (diff)
downloadop-kernel-dev-b6e26546cc08e870da5413a3fcccc100eb2192c6.zip
op-kernel-dev-b6e26546cc08e870da5413a3fcccc100eb2192c6.tar.gz
Input: axp20x-pek - add module alias
Add a proper module alias so the driver can be autoloaded when the parent axp20x mfd driver registers its cells. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Acked-by: Carlo Caione <carlo@caione.org> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
-rw-r--r--drivers/input/misc/axp20x-pek.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/input/misc/axp20x-pek.c b/drivers/input/misc/axp20x-pek.c
index 10e140a..1ac898d 100644
--- a/drivers/input/misc/axp20x-pek.c
+++ b/drivers/input/misc/axp20x-pek.c
@@ -292,3 +292,4 @@ module_platform_driver(axp20x_pek_driver);
MODULE_DESCRIPTION("axp20x Power Button");
MODULE_AUTHOR("Carlo Caione <carlo@caione.org>");
MODULE_LICENSE("GPL");
+MODULE_ALIAS("platform:axp20x-pek");
OpenPOWER on IntegriCloud