cpufreq: Loongson2: constify platform_device_id
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Sun, 13 Aug 2017 09:40:06 +0000 (15:10 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 17 Aug 2017 23:44:21 +0000 (01:44 +0200)
commita804d51004ef69ff362509ae813b3f455c3ab7b4
tree2e2cd0a0a0f0932ca55b83e7b6329b668590fad6
parentbea2ebca6b917e46d0c585f416f1326fdf41e69b
cpufreq: Loongson2: constify platform_device_id

platform_device_id are not supposed to change at runtime. All functions
working with platform_device_id provided by <linux/platform_device.h>
work with const platform_device_id. So mark the non-const structs as
const.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/loongson2_cpufreq.c