diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2016-12-10 14:47:36 +0100 |
---|---|---|
committer | Krzysztof Kozlowski <krzk@kernel.org> | 2016-12-29 14:40:51 +0100 |
commit | 9060a4172f7562498802f6dc60869515cda34c76 (patch) | |
tree | 9362422e6de6c9587b89a2b6680e076f892aefec /arch/arm/plat-samsung/include | |
parent | ARM: s3c64xx: Annotate external clock frequencies __ro_after_init (diff) | |
download | linux-9060a4172f7562498802f6dc60869515cda34c76.tar.xz linux-9060a4172f7562498802f6dc60869515cda34c76.zip |
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>
Diffstat (limited to 'arch/arm/plat-samsung/include')
-rw-r--r-- | arch/arm/plat-samsung/include/plat/wakeup-mask.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-samsung/include/plat/wakeup-mask.h b/arch/arm/plat-samsung/include/plat/wakeup-mask.h index 43e4acd2e1c6..bbfa84b0505a 100644 --- a/arch/arm/plat-samsung/include/plat/wakeup-mask.h +++ b/arch/arm/plat-samsung/include/plat/wakeup-mask.h @@ -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 */ |