[PATCH] regulator: anatop-regulator: Add MODULE_ALIAS()

From: Fabio Estevam
Date: Tue Dec 31 2013 - 07:56:18 EST


From: Fabio Estevam <fabio.estevam@xxxxxxxxxxxxx>

Provide a MODULE_ALIAS() entry to the driver.

Signed-off-by: Fabio Estevam <fabio.estevam@xxxxxxxxxxxxx>
---
drivers/regulator/anatop-regulator.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/regulator/anatop-regulator.c b/drivers/regulator/anatop-regulator.c
index c734d09..a004144 100644
--- a/drivers/regulator/anatop-regulator.c
+++ b/drivers/regulator/anatop-regulator.c
@@ -259,3 +259,4 @@ MODULE_AUTHOR("Nancy Chen <Nancy.Chen@xxxxxxxxxxxxx>");
MODULE_AUTHOR("Ying-Chun Liu (PaulLiu) <paul.liu@xxxxxxxxxx>");
MODULE_DESCRIPTION("ANATOP Regulator driver");
MODULE_LICENSE("GPL v2");
+MODULE_ALIAS("platform:anatop_regulator");
--
1.8.1.2

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