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: Krzysztof Kozlowski <krzk@kernel.org>
Reviewed-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
This commit is contained in:
Krzysztof Kozlowski 2016-12-10 15:47:36 +02:00
parent 552146b0c2
commit 9060a4172f
2 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ struct samsung_wakeup_mask {
* required to be correct before we enter sleep.
*/
extern void samsung_sync_wakemask(void __iomem *reg,
struct samsung_wakeup_mask *masks,
const struct samsung_wakeup_mask *masks,
int nr_masks);
#endif /* __PLAT_WAKEUP_MASK_H */

View File

@ -20,7 +20,7 @@
#include <plat/pm.h>
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;
u32 val;