summaryrefslogtreecommitdiffstats
path: root/drivers/soc
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-05-16 14:31:03 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-05-16 14:31:03 +0200
commitacc53b49b183adaee6c839430a04b464908db84f (patch)
treeb7cd55555159a9e4ee57498e258c1692423d24d0 /drivers/soc
parentc47b3bd0d3a18a93d62b91d2d02e3fe599805e6d (diff)
parentfd7c3c29f9abab50a84fd4fd6811129641c53b2f (diff)
downloadlinux-acc53b49b183adaee6c839430a04b464908db84f.tar.bz2
Merge branch 'pm-cpuidle'
* pm-cpuidle: cpuidle: Replace ktime_get() with local_clock() drivers: firmware: psci: use const and __initconst for psci_cpuidle_ops soc: qcom: spm: Use const and __initconst for qcom_cpuidle_ops ARM: cpuidle: constify return value of arm_cpuidle_get_ops() ARM: cpuidle: add const qualifier to cpuidle_ops member in structures intel_idle: add BXT support cpuidle: Indicate when a device has been unregistered
Diffstat (limited to 'drivers/soc')
-rw-r--r--drivers/soc/qcom/spm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/soc/qcom/spm.c b/drivers/soc/qcom/spm.c
index 5548a31e1a39..1fcbb22a4a1c 100644
--- a/drivers/soc/qcom/spm.c
+++ b/drivers/soc/qcom/spm.c
@@ -274,7 +274,7 @@ check_spm:
return per_cpu(cpu_spm_drv, cpu) ? 0 : -ENXIO;
}
-static struct cpuidle_ops qcom_cpuidle_ops __initdata = {
+static const struct cpuidle_ops qcom_cpuidle_ops __initconst = {
.suspend = qcom_idle_enter,
.init = qcom_cpuidle_init,
};