[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1438588080-15477-1-git-send-email-wens@csie.org>
Date: Mon, 3 Aug 2015 15:48:00 +0800
From: Chen-Yu Tsai <wens@...e.org>
To: Dmitry Torokhov <dmitry.torokhov@...il.com>
Cc: Chen-Yu Tsai <wens@...e.org>, linux-input@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-sunxi@...glegroups.com,
Carlo Caione <carlo@...one.org>,
Hans de Goede <hdegoede@...hat.com>
Subject: [PATCH] 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@...e.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@...one.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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists