summaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq/qcom-cpufreq-kryo.c
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2018-07-23 20:34:29 +0800
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2018-07-24 10:44:57 +0200
commitbafaf056e0734f7bca7d27716bb3c672e87bb0b1 (patch)
treeaae987ee5dd143a95857e2df4ce97171b213244d /drivers/cpufreq/qcom-cpufreq-kryo.c
parentd72e90f33aa4709ebecc5005562f52335e106a60 (diff)
downloadtalos-obmc-linux-bafaf056e0734f7bca7d27716bb3c672e87bb0b1.tar.gz
talos-obmc-linux-bafaf056e0734f7bca7d27716bb3c672e87bb0b1.zip
cpufreq: qcom-kryo: add NULL entry to the end of_device_id array
Make sure of_device_id tables are NULL terminated. Found by coccinelle spatch "misc/of_table.cocci" Signed-off-by: YueHaibing <yuehaibing@huawei.com> Acked-by: Ilia Lin <ilia.lin@kernel.org> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/qcom-cpufreq-kryo.c')
-rw-r--r--drivers/cpufreq/qcom-cpufreq-kryo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/cpufreq/qcom-cpufreq-kryo.c b/drivers/cpufreq/qcom-cpufreq-kryo.c
index 29389accf3e9..efc9a7ae4857 100644
--- a/drivers/cpufreq/qcom-cpufreq-kryo.c
+++ b/drivers/cpufreq/qcom-cpufreq-kryo.c
@@ -183,6 +183,7 @@ static struct platform_driver qcom_cpufreq_kryo_driver = {
static const struct of_device_id qcom_cpufreq_kryo_match_list[] __initconst = {
{ .compatible = "qcom,apq8096", },
{ .compatible = "qcom,msm8996", },
+ {}
};
/*
OpenPOWER on IntegriCloud