提交 73838337 编写于 作者: K Krzysztof Kozlowski 提交者: Kukjin Kim

ARM: EXYNOS: Constify exynos_pm_data array

The 'exynos5420_pm_data' is not modified and can be made const.
Signed-off-by: NKrzysztof Kozlowski <k.kozlowski@samsung.com>
Reviewed-by: NPankaj Dubey <pankaj.dubey@samsung.com>
Signed-off-by: NKukjin Kim <kgene@kernel.org>
上级 8c8a2511
...@@ -576,7 +576,7 @@ static const struct exynos_pm_data exynos5250_pm_data = { ...@@ -576,7 +576,7 @@ static const struct exynos_pm_data exynos5250_pm_data = {
.cpu_suspend = exynos_cpu_suspend, .cpu_suspend = exynos_cpu_suspend,
}; };
static struct exynos_pm_data exynos5420_pm_data = { static const struct exynos_pm_data exynos5420_pm_data = {
.wkup_irq = exynos5250_wkup_irq, .wkup_irq = exynos5250_wkup_irq,
.wake_disable_mask = (0x7F << 7) | (0x1F << 1), .wake_disable_mask = (0x7F << 7) | (0x1F << 1),
.release_ret_regs = exynos5420_release_ret_regs, .release_ret_regs = exynos5420_release_ret_regs,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册