diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-04-28 06:13:55 -0400 |
---|---|---|
committer | Liam Girdwood <lrg@slimlogic.co.uk> | 2009-06-15 06:18:24 -0400 |
commit | 38c53c89139e6140b895b419b18c586e8593a6e8 (patch) | |
tree | c206ed7e3e994aca822b5e9b0591d8e17e4040f3 | |
parent | 9035cefc2d4b67591cbc2e4e8fbc8d73901ca9eb (diff) |
regulator: Set MODULE_ALIAS for regulator drivers
Several of the regulator drivers didn't have MODULE_ALIAS so couldn't be
auto loaded. Add the MODULE_ALIAS in case they do get built as modules.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
-rw-r--r-- | drivers/regulator/fixed.c | 1 | ||||
-rw-r--r-- | drivers/regulator/virtual.c | 1 | ||||
-rw-r--r-- | drivers/regulator/wm8350-regulator.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/drivers/regulator/fixed.c b/drivers/regulator/fixed.c index 4c525afb0091..cdc674fb46c3 100644 --- a/drivers/regulator/fixed.c +++ b/drivers/regulator/fixed.c | |||
@@ -141,3 +141,4 @@ module_exit(regulator_fixed_voltage_exit); | |||
141 | MODULE_AUTHOR("Mark Brown <broonie@opensource.wolfsonmicro.com>"); | 141 | MODULE_AUTHOR("Mark Brown <broonie@opensource.wolfsonmicro.com>"); |
142 | MODULE_DESCRIPTION("Fixed voltage regulator"); | 142 | MODULE_DESCRIPTION("Fixed voltage regulator"); |
143 | MODULE_LICENSE("GPL"); | 143 | MODULE_LICENSE("GPL"); |
144 | MODULE_ALIAS("platform:reg-fixed-voltage"); | ||
diff --git a/drivers/regulator/virtual.c b/drivers/regulator/virtual.c index 71403fa3ffa1..e7db5664722e 100644 --- a/drivers/regulator/virtual.c +++ b/drivers/regulator/virtual.c | |||
@@ -347,3 +347,4 @@ module_exit(regulator_virtual_consumer_exit); | |||
347 | MODULE_AUTHOR("Mark Brown <broonie@opensource.wolfsonmicro.com>"); | 347 | MODULE_AUTHOR("Mark Brown <broonie@opensource.wolfsonmicro.com>"); |
348 | MODULE_DESCRIPTION("Virtual regulator consumer"); | 348 | MODULE_DESCRIPTION("Virtual regulator consumer"); |
349 | MODULE_LICENSE("GPL"); | 349 | MODULE_LICENSE("GPL"); |
350 | MODULE_ALIAS("platform:reg-virt-consumer"); | ||
diff --git a/drivers/regulator/wm8350-regulator.c b/drivers/regulator/wm8350-regulator.c index 771eca1066b5..17a00b0fafd1 100644 --- a/drivers/regulator/wm8350-regulator.c +++ b/drivers/regulator/wm8350-regulator.c | |||
@@ -1570,3 +1570,4 @@ module_exit(wm8350_regulator_exit); | |||
1570 | MODULE_AUTHOR("Liam Girdwood"); | 1570 | MODULE_AUTHOR("Liam Girdwood"); |
1571 | MODULE_DESCRIPTION("WM8350 voltage and current regulator driver"); | 1571 | MODULE_DESCRIPTION("WM8350 voltage and current regulator driver"); |
1572 | MODULE_LICENSE("GPL"); | 1572 | MODULE_LICENSE("GPL"); |
1573 | MODULE_ALIAS("platform:wm8350-regulator"); | ||