public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Input: axp20x-pek: Add module alias
@ 2015-08-03  7:48 Chen-Yu Tsai
  2015-08-03  7:56 ` [linux-sunxi] " Carlo Caione
  2015-08-04  8:42 ` Paul Bolle
  0 siblings, 2 replies; 7+ messages in thread
From: Chen-Yu Tsai @ 2015-08-03  7:48 UTC (permalink / raw)
  To: Dmitry Torokhov
  Cc: Chen-Yu Tsai, linux-input, linux-kernel, linux-sunxi,
	Carlo Caione, Hans de Goede

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


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-08-06  2:39 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-03  7:48 [PATCH] Input: axp20x-pek: Add module alias Chen-Yu Tsai
2015-08-03  7:56 ` [linux-sunxi] " Carlo Caione
2015-08-03 20:30   ` Dmitry Torokhov
2015-08-04  8:42 ` Paul Bolle
2015-08-04  9:04   ` [linux-sunxi] " Chen-Yu Tsai
2015-08-04 17:46     ` Dmitry Torokhov
2015-08-06  2:39       ` Chen-Yu Tsai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox