From: Axel Lin Date: Wed, 19 Feb 2014 08:33:21 +0000 (+0800) Subject: regulator: tps65218: Add terminate entry for of_device_id table X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c46b5295ac3db8ac20e8970ce668b8e784833eee;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Acked-by: Keerthy Signed-off-by: Mark Brown --- 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[] = { TPS65218_OF_MATCH("ti,tps65218-dcdc5", tps65218_pmic_regs[DCDC5]), TPS65218_OF_MATCH("ti,tps65218-dcdc6", tps65218_pmic_regs[DCDC6]), TPS65218_OF_MATCH("ti,tps65218-ldo1", tps65218_pmic_regs[LDO1]), + { } }; MODULE_DEVICE_TABLE(of, tps65218_of_match);