drivers: firmware: psci: use const and __initconst for psci_cpuidle_ops
authorJisheng Zhang <jszhang@marvell.com>
Tue, 22 Mar 2016 14:42:43 +0000 (22:42 +0800)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Wed, 20 Apr 2016 08:44:32 +0000 (10:44 +0200)
commit5e7c17df795e462c70a43f1b3b670e08efefe8fd
treedf4a5b268d9ffcb233cae6add9156824fcbc6bbf
parent1e712d9be873a44d7f5bc2a11d0ad6573029a67e
drivers: firmware: psci: use const and __initconst for psci_cpuidle_ops

The psci_cpuidle_ops structures is not over-written, so add "const"
qualifier and replace __initdata with __initconst.

Acked-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Jisheng Zhang <jszhang@marvell.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/firmware/psci.c