Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bafaf056 authored by YueHaibing's avatar YueHaibing Committed by Rafael J. Wysocki
Browse files

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: default avatarYueHaibing <yuehaibing@huawei.com>
Acked-by: default avatarIlia Lin <ilia.lin@kernel.org>
Acked-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent d72e90f3
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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", },
	{}
};

/*