regulator: Set MODULE_ALIAS for regulator drivers
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 28 Apr 2009 10:13:55 +0000 (11:13 +0100)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Mon, 15 Jun 2009 10:18:24 +0000 (11:18 +0100)
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>
drivers/regulator/fixed.c
drivers/regulator/virtual.c
drivers/regulator/wm8350-regulator.c

index 4c525afb0091dc9e6ac7f555d92f38e27c66503e..cdc674fb46c3371192c7b2975df97ac9794a3e0d 100644 (file)
@@ -141,3 +141,4 @@ module_exit(regulator_fixed_voltage_exit);
 MODULE_AUTHOR("Mark Brown <broonie@opensource.wolfsonmicro.com>");
 MODULE_DESCRIPTION("Fixed voltage regulator");
 MODULE_LICENSE("GPL");
+MODULE_ALIAS("platform:reg-fixed-voltage");
index 71403fa3ffa1e04aa2bffe69403480b1bb5623f4..e7db5664722e962f1e7c60c2bea1c6f8910b5aeb 100644 (file)
@@ -347,3 +347,4 @@ module_exit(regulator_virtual_consumer_exit);
 MODULE_AUTHOR("Mark Brown <broonie@opensource.wolfsonmicro.com>");
 MODULE_DESCRIPTION("Virtual regulator consumer");
 MODULE_LICENSE("GPL");
+MODULE_ALIAS("platform:reg-virt-consumer");
index 771eca1066b5916378c0620387b3ecf8dae3342a..17a00b0fafd11f6e311c4091da1db38387d37535 100644 (file)
@@ -1570,3 +1570,4 @@ module_exit(wm8350_regulator_exit);
 MODULE_AUTHOR("Liam Girdwood");
 MODULE_DESCRIPTION("WM8350 voltage and current regulator driver");
 MODULE_LICENSE("GPL");
+MODULE_ALIAS("platform:wm8350-regulator");