diff options
author | YueHaibing <yuehaibing@huawei.com> | 2018-07-23 15:34:29 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2018-07-24 11:44:57 +0300 |
commit | bafaf056e0734f7bca7d27716bb3c672e87bb0b1 (patch) | |
tree | aae987ee5dd143a95857e2df4ce97171b213244d /drivers/cpufreq/qcom-cpufreq-kryo.c | |
parent | d72e90f33aa4709ebecc5005562f52335e106a60 (diff) | |
download | linux-bafaf056e0734f7bca7d27716bb3c672e87bb0b1.tar.xz |
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.c | 1 |
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", }, + {} }; /* |