Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1198608

[PATCH] Input: axp20x-pek: Add module alias

From Chen-Yu Tsai <wens@csie.org>
Newsgroups linux.kernel
Subject [PATCH] Input: axp20x-pek: Add module alias
Date 2015-08-03 09:50 +0200
Message-ID <pTiFs-50N-27@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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>
---
 drivers/input/misc/axp20x-pek.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/input/misc/axp20x-pek.c b/drivers/input/misc/axp20x-pek.c
index 10e140af5aac..1ac898db303a 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");
-- 
2.5.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH] Input: axp20x-pek: Add module alias Chen-Yu Tsai <wens@csie.org> - 2015-08-03 09:50 +0200
  Re: [linux-sunxi] [PATCH] Input: axp20x-pek: Add module alias Carlo Caione <carlo@caione.org> - 2015-08-03 10:00 +0200
    Re: [linux-sunxi] [PATCH] Input: axp20x-pek: Add module alias Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2015-08-03 22:40 +0200
  Re: [PATCH] Input: axp20x-pek: Add module alias Paul Bolle <pebolle@tiscali.nl> - 2015-08-04 10:50 +0200
    Re: [linux-sunxi] Re: [PATCH] Input: axp20x-pek: Add module alias Chen-Yu Tsai <wens@csie.org> - 2015-08-04 11:10 +0200

csiph-web