Commit 9060a417 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski

ARM: SAMSUNG: Constify array of wake irqs passed to samsung_sync_wakemask

The samsung_sync_wakemask() iterates over passed array of wake irqs but
does not modify it.
Signed-off-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
Reviewed-by: default avatarBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
parent 552146b0
...@@ -38,7 +38,7 @@ struct samsung_wakeup_mask { ...@@ -38,7 +38,7 @@ struct samsung_wakeup_mask {
* required to be correct before we enter sleep. * required to be correct before we enter sleep.
*/ */
extern void samsung_sync_wakemask(void __iomem *reg, extern void samsung_sync_wakemask(void __iomem *reg,
struct samsung_wakeup_mask *masks, const struct samsung_wakeup_mask *masks,
int nr_masks); int nr_masks);
#endif /* __PLAT_WAKEUP_MASK_H */ #endif /* __PLAT_WAKEUP_MASK_H */
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#include <plat/pm.h> #include <plat/pm.h>
void samsung_sync_wakemask(void __iomem *reg, void samsung_sync_wakemask(void __iomem *reg,
struct samsung_wakeup_mask *mask, int nr_mask) const struct samsung_wakeup_mask *mask, int nr_mask)
{ {
struct irq_data *data; struct irq_data *data;
u32 val; u32 val;
......
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