diff options
author | 2025-02-22 12:41:46 +0100 | |
---|---|---|
committer | 2025-02-28 17:56:23 +0100 | |
commit | 72ce39bc61fab14ef8eda1614763d6422ce38736 (patch) | |
tree | 5f3d91de1a56af1584dc462adbcdce7e28c15aab | |
parent | rtc: fsl-ftm-alarm: Mark acpi_id table as maybe unused (diff) | |
download | wireguard-linux-72ce39bc61fab14ef8eda1614763d6422ce38736.tar.xz wireguard-linux-72ce39bc61fab14ef8eda1614763d6422ce38736.zip |
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>
-rw-r--r-- | drivers/rtc/rtc-pl030.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-pl030.c b/drivers/rtc/rtc-pl030.c index 39038c0754ee..1326f310bf93 100644 --- a/drivers/rtc/rtc-pl030.c +++ b/drivers/rtc/rtc-pl030.c @@ -148,7 +148,7 @@ static void pl030_remove(struct amba_device *dev) amba_release_regions(dev); } -static struct amba_id pl030_ids[] = { +static const struct amba_id pl030_ids[] = { { .id = 0x00041030, .mask = 0x000fffff, |