diff options
Diffstat (limited to 'arch/arm/mach-pxa')
-rw-r--r-- | arch/arm/mach-pxa/pm.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-pxa/sharpsl_pm.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-pxa/pm.c b/arch/arm/mach-pxa/pm.c index 166c15f62916..978e1b289544 100644 --- a/arch/arm/mach-pxa/pm.c +++ b/arch/arm/mach-pxa/pm.c | |||
@@ -96,7 +96,7 @@ void pxa_pm_finish(void) | |||
96 | pxa_cpu_pm_fns->finish(); | 96 | pxa_cpu_pm_fns->finish(); |
97 | } | 97 | } |
98 | 98 | ||
99 | static struct platform_suspend_ops pxa_pm_ops = { | 99 | static const struct platform_suspend_ops pxa_pm_ops = { |
100 | .valid = pxa_pm_valid, | 100 | .valid = pxa_pm_valid, |
101 | .enter = pxa_pm_enter, | 101 | .enter = pxa_pm_enter, |
102 | .prepare = pxa_pm_prepare, | 102 | .prepare = pxa_pm_prepare, |
diff --git a/arch/arm/mach-pxa/sharpsl_pm.c b/arch/arm/mach-pxa/sharpsl_pm.c index 8fed027b12dc..02874e96ec72 100644 --- a/arch/arm/mach-pxa/sharpsl_pm.c +++ b/arch/arm/mach-pxa/sharpsl_pm.c | |||
@@ -868,7 +868,7 @@ static void sharpsl_apm_get_power_status(struct apm_power_info *info) | |||
868 | } | 868 | } |
869 | 869 | ||
870 | #ifdef CONFIG_PM | 870 | #ifdef CONFIG_PM |
871 | static struct platform_suspend_ops sharpsl_pm_ops = { | 871 | static const struct platform_suspend_ops sharpsl_pm_ops = { |
872 | .prepare = pxa_pm_prepare, | 872 | .prepare = pxa_pm_prepare, |
873 | .finish = pxa_pm_finish, | 873 | .finish = pxa_pm_finish, |
874 | .enter = corgi_pxa_pm_enter, | 874 | .enter = corgi_pxa_pm_enter, |