]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
regulator: Add MODULE_DEVICE_TABLE to max8997 and max8998
authorAxel Lin <axel.lin@gmail.com>
Sat, 26 Mar 2011 15:28:42 +0000 (23:28 +0800)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Sun, 27 Mar 2011 10:47:25 +0000 (11:47 +0100)
The device table is required to load modules based on modaliases.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Cc: MyungJoo Ham <myungjoo.ham@smasung.com>
Cc: Kyungmin Park <kyungmin.park@samsung.com>
Cc: Marek Szyprowski <m.szyprowski@samsung.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
drivers/regulator/max8997.c
drivers/regulator/max8998.c

index 01ef7e9903bb8b9bd7080bef89f5e266c36f1671..77e0cfb30b23fcc5ff274cf66ac96b94a532a62d 100644 (file)
@@ -1185,6 +1185,7 @@ static const struct platform_device_id max8997_pmic_id[] = {
        { "max8997-pmic", 0},
        { },
 };
+MODULE_DEVICE_TABLE(platform, max8997_pmic_id);
 
 static struct platform_driver max8997_pmic_driver = {
        .driver = {
index 0ec49ca527a84de2f16b3eb8ab14bfe70df05e11..43410266f9938e4b3f8cc08a51250d860cf0ccba 100644 (file)
@@ -887,6 +887,7 @@ static const struct platform_device_id max8998_pmic_id[] = {
        { "lp3974-pmic", TYPE_LP3974 },
        { }
 };
+MODULE_DEVICE_TABLE(platform, max8998_pmic_id);
 
 static struct platform_driver max8998_pmic_driver = {
        .driver = {