2012-08-25 06:57:09

by Axel Lin

[permalink] [raw]
Subject: [PATCH] regulator: max8907: Add MODULE_ALIAS

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



2012-08-27 16:46:50

by Mark Brown

[permalink] [raw]
Subject: Re: [PATCH] regulator: max8907: Add MODULE_ALIAS

On Sat, Aug 25, 2012 at 02:56:48PM +0800, Axel Lin wrote:

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

Applied, thanks.