summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/lochnagar-regulator.c
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.cirrus.com>2019-01-18 12:36:30 +0100
committerMark Brown <broonie@kernel.org>2019-01-18 19:02:25 +0100
commit692f8b56bb6afa06895d2723a033822994c1fe59 (patch)
treea17cb680b276ced0b1b428e2979e1b0ac0232e68 /drivers/regulator/lochnagar-regulator.c
parentregulator: dt-bindings: Convert fixed-regulator to json-schema (diff)
downloadlinux-692f8b56bb6afa06895d2723a033822994c1fe59.tar.xz
linux-692f8b56bb6afa06895d2723a033822994c1fe59.zip
regulator: lochnagar: Add missing MODULE_DEVICE_TABLE
Add the missing MODULE_DEVICE_TABLE and remove the comma from the separator on the end of the of_device_id array. Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/lochnagar-regulator.c')
-rw-r--r--drivers/regulator/lochnagar-regulator.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/regulator/lochnagar-regulator.c b/drivers/regulator/lochnagar-regulator.c
index 5a89e6d4b9a6..2c0743e65eaf 100644
--- a/drivers/regulator/lochnagar-regulator.c
+++ b/drivers/regulator/lochnagar-regulator.c
@@ -232,8 +232,9 @@ static const struct of_device_id lochnagar_of_match[] = {
.compatible = "cirrus,lochnagar2-vddcore",
.data = &lochnagar_regulators[LOCHNAGAR_VDDCORE],
},
- {},
+ {}
};
+MODULE_DEVICE_TABLE(of, lochnagar_of_match);
static int lochnagar_regulator_probe(struct platform_device *pdev)
{