diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2016-12-10 08:47:37 -0500 |
---|---|---|
committer | Krzysztof Kozlowski <krzk@kernel.org> | 2016-12-29 08:41:08 -0500 |
commit | 7264ebd92e20194ed26424a72cda6ab1e9bee655 (patch) | |
tree | 5a21cc646d2ab103673b52de394221b1ff761ae7 | |
parent | 9060a4172f7562498802f6dc60869515cda34c76 (diff) |
ARM: s3c24xx: Constify wake_irqs
samsung_sync_wakemask() accepts pointer to const data so wake_irqs can
be made const to increase safeness.
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Reviewed-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
-rw-r--r-- | arch/arm/mach-s3c24xx/pm-s3c2412.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-s3c24xx/pm-s3c2412.c b/arch/arm/mach-s3c24xx/pm-s3c2412.c index d75f95e487ee..0ae4d47a4663 100644 --- a/arch/arm/mach-s3c24xx/pm-s3c2412.c +++ b/arch/arm/mach-s3c24xx/pm-s3c2412.c | |||
@@ -53,7 +53,7 @@ static int s3c2412_cpu_suspend(unsigned long arg) | |||
53 | } | 53 | } |
54 | 54 | ||
55 | /* mapping of interrupts to parts of the wakeup mask */ | 55 | /* mapping of interrupts to parts of the wakeup mask */ |
56 | static struct samsung_wakeup_mask wake_irqs[] = { | 56 | static const struct samsung_wakeup_mask wake_irqs[] = { |
57 | { .irq = IRQ_RTC, .bit = S3C2412_PWRCFG_RTC_MASKIRQ, }, | 57 | { .irq = IRQ_RTC, .bit = S3C2412_PWRCFG_RTC_MASKIRQ, }, |
58 | }; | 58 | }; |
59 | 59 | ||