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

rtc: pl030: 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>
Link: https://lore.kernel.org/r/20250222114146.162835-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>

authored by

Krzysztof Kozlowski and committed by
Alexandre Belloni
72ce39bc f36d6362

+1 -1
+1 -1
drivers/rtc/rtc-pl030.c
··· 148 148 amba_release_regions(dev); 149 149 } 150 150 151 - static struct amba_id pl030_ids[] = { 151 + static const struct amba_id pl030_ids[] = { 152 152 { 153 153 .id = 0x00041030, 154 154 .mask = 0x000fffff,