Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mailbox: arm_mhu: Constify amba_id table

'struct amba_id' table is not modified so can be changed to const for
more safety.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Jassi Brar <jassisinghbrar@gmail.com>

authored by

Krzysztof Kozlowski and committed by
Jassi Brar
48e7375e 5f3aee47

+1 -1
+1 -1
drivers/mailbox/arm_mhu.c
··· 153 153 return 0; 154 154 } 155 155 156 - static struct amba_id mhu_ids[] = { 156 + static const struct amba_id mhu_ids[] = { 157 157 { 158 158 .id = 0x1bb098, 159 159 .mask = 0xffffff,