diff options
author | Axel Lin <axel.lin@ingics.com> | 2014-02-19 03:33:21 -0500 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-02-19 07:18:50 -0500 |
commit | c46b5295ac3db8ac20e8970ce668b8e784833eee (patch) | |
tree | 2a34a41a03fc189d5f064722678ab3ce3014a34c /drivers/regulator | |
parent | 90e7d52627960e751da4fb2076ce79c51da82163 (diff) |
regulator: tps65218: Add terminate entry for of_device_id table
Fixes below build error:
FATAL: drivers/regulator/tps65218-regulator: struct of_device_id is not terminated with a NULL entry!
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/regulator')
-rw-r--r-- | drivers/regulator/tps65218-regulator.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/regulator/tps65218-regulator.c b/drivers/regulator/tps65218-regulator.c index 958276c891a4..d1c78313aa28 100644 --- a/drivers/regulator/tps65218-regulator.c +++ b/drivers/regulator/tps65218-regulator.c | |||
@@ -96,6 +96,7 @@ static const struct of_device_id tps65218_of_match[] = { | |||
96 | TPS65218_OF_MATCH("ti,tps65218-dcdc5", tps65218_pmic_regs[DCDC5]), | 96 | TPS65218_OF_MATCH("ti,tps65218-dcdc5", tps65218_pmic_regs[DCDC5]), |
97 | TPS65218_OF_MATCH("ti,tps65218-dcdc6", tps65218_pmic_regs[DCDC6]), | 97 | TPS65218_OF_MATCH("ti,tps65218-dcdc6", tps65218_pmic_regs[DCDC6]), |
98 | TPS65218_OF_MATCH("ti,tps65218-ldo1", tps65218_pmic_regs[LDO1]), | 98 | TPS65218_OF_MATCH("ti,tps65218-ldo1", tps65218_pmic_regs[LDO1]), |
99 | { } | ||
99 | }; | 100 | }; |
100 | MODULE_DEVICE_TABLE(of, tps65218_of_match); | 101 | MODULE_DEVICE_TABLE(of, tps65218_of_match); |
101 | 102 | ||