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

Signed-off-by: Axel Lin <[email protected]>
---
 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 <[email protected]>");
 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to