[PATCH] regulator: max8907: Add MODULE_ALIAS

From: Axel Lin
Date: Sat Aug 25 2012 - 02:57:06 EST


This driver can be built as a module, add MODULE_ALIAS for it.

Signed-off-by: Axel Lin <axel.lin@xxxxxxxxx>
---
drivers/regulator/max8907-regulator.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/regulator/max8907-regulator.c b/drivers/regulator/max8907-regulator.c
index 3a5104f..19c765a 100644
--- a/drivers/regulator/max8907-regulator.c
+++ b/drivers/regulator/max8907-regulator.c
@@ -402,3 +402,4 @@ module_exit(max8907_reg_exit);
MODULE_DESCRIPTION("MAX8907 regulator driver");
MODULE_AUTHOR("Gyungoh Yoo <jack.yoo@xxxxxxxxxxxx>");
MODULE_LICENSE("GPL v2");
+MODULE_ALIAS("platform:max8907-regulator");
--
1.7.9.5



--
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/