Commit 7264ebd9 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski

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: default avatarKrzysztof Kozlowski <krzk@kernel.org>
Reviewed-by: default avatarBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
parent 9060a417
...@@ -53,7 +53,7 @@ static int s3c2412_cpu_suspend(unsigned long arg) ...@@ -53,7 +53,7 @@ static int s3c2412_cpu_suspend(unsigned long arg)
} }
/* mapping of interrupts to parts of the wakeup mask */ /* mapping of interrupts to parts of the wakeup mask */
static struct samsung_wakeup_mask wake_irqs[] = { static const struct samsung_wakeup_mask wake_irqs[] = {
{ .irq = IRQ_RTC, .bit = S3C2412_PWRCFG_RTC_MASKIRQ, }, { .irq = IRQ_RTC, .bit = S3C2412_PWRCFG_RTC_MASKIRQ, },
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment