diff options
author | Axel Lin <axel.lin@gmail.com> | 2011-03-26 16:28:42 +0100 |
---|---|---|
committer | Liam Girdwood <lrg@slimlogic.co.uk> | 2011-03-27 12:47:25 +0200 |
commit | a51b907b2ecdfd3830576733810233f00dcfb2af (patch) | |
tree | 47ccdb991b44085601a4478f38cd42fc3df97093 /drivers/regulator/max8997.c | |
parent | regulator: fix tps6524x section mismatch (diff) | |
download | linux-a51b907b2ecdfd3830576733810233f00dcfb2af.tar.xz linux-a51b907b2ecdfd3830576733810233f00dcfb2af.zip |
regulator: Add MODULE_DEVICE_TABLE to max8997 and max8998
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>
Diffstat (limited to 'drivers/regulator/max8997.c')
-rw-r--r-- | drivers/regulator/max8997.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/regulator/max8997.c b/drivers/regulator/max8997.c index 01ef7e9903bb..77e0cfb30b23 100644 --- a/drivers/regulator/max8997.c +++ b/drivers/regulator/max8997.c @@ -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 = { |