diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2025-02-22 12:36:18 +0100 |
---|---|---|
committer | Jassi Brar <jassisinghbrar@gmail.com> | 2025-03-26 20:58:24 -0500 |
commit | 5f3aee471146c4a30bc63985d733b1235977439c (patch) | |
tree | 23b7f7cdb1bddd9f9ff50728f7f6d297d3637138 | |
parent | 12868a6c10e37ff57477da278e5aa31f06a435bf (diff) |
mailbox: pl320-ipc: 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>
-rw-r--r-- | drivers/mailbox/pl320-ipc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mailbox/pl320-ipc.c b/drivers/mailbox/pl320-ipc.c index 0b807bbcbde0..606f26a2a6fd 100644 --- a/drivers/mailbox/pl320-ipc.c +++ b/drivers/mailbox/pl320-ipc.c @@ -152,7 +152,7 @@ err: return ret; } -static struct amba_id pl320_ids[] = { +static const struct amba_id pl320_ids[] = { { .id = 0x00041320, .mask = 0x000fffff, |