]> git.baikalelectronics.ru Git - kernel.git/commit
cpufreq: dt: Add terminate entry for of_device_id tables
authorWei Yongjun <weiyongjun1@huawei.com>
Sun, 21 Aug 2016 15:41:44 +0000 (15:41 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 31 Aug 2016 00:49:05 +0000 (02:49 +0200)
commit72a6c4e5c830cfe5906aaa0862ba64bd11480dfc
treee3edcfaeda9324ffd967c971bdfe49110bb6858b
parentf987612db0506b2cba4d9cae824062f861e0f3f2
cpufreq: dt: Add terminate entry for of_device_id tables

Make sure of_device_id tables are NULL terminated.

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Fixes: 488a3f3521a6 (cpufreq: dt: Add generic platform-device creation support)
CC: 4.7+ <stable@vger.kernel.org> # 4.7+
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/cpufreq-dt-platdev.c