]> git.karo-electronics.de Git - linux-beck.git/commitdiff
regulator: axp20x: Add module alias
authorIan Campbell <ijc@hellion.org.uk>
Sat, 1 Aug 2015 17:13:25 +0000 (18:13 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 4 Aug 2015 17:29:00 +0000 (18:29 +0100)
This allows the module to be autoloaded.

Together with 07949bf9c63c ("cpufreq: dt: allow driver to boot
automatically") this is sufficient to allow a modular kernel (such
as Debian's) to enable cpufreq on a Cubietruck.

Signed-off-by: Ian Campbell <ijc@hellion.org.uk>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/axp20x-regulator.c

index 646829132b5926ffeaf5e14a82d6296f1f32f159..01bf3476a79183714f62f67efcf5d8b17b70d497 100644 (file)
@@ -405,3 +405,4 @@ module_platform_driver(axp20x_regulator_driver);
 MODULE_LICENSE("GPL v2");
 MODULE_AUTHOR("Carlo Caione <carlo@caione.org>");
 MODULE_DESCRIPTION("Regulator Driver for AXP20X PMIC");
+MODULE_ALIAS("platform:axp20x-regulator");