Skip to content

Commit

Permalink
cpufreq: qcom-kryo: add NULL entry to the end of_device_id array
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
YueHaibing authored and Rafael J. Wysocki committed Jul 24, 2018
1 parent d72e90f commit bafaf05
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/cpufreq/qcom-cpufreq-kryo.c
Original file line number Diff line number Diff line change
Expand Up @@ -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", },
{}
};

/*
Expand Down

0 comments on commit bafaf05

Please sign in to comment.