diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2025-02-22 12:36:19 +0100 |
---|---|---|
committer | Jassi Brar <jassisinghbrar@gmail.com> | 2025-03-26 20:58:25 -0500 |
commit | 48e7375ec174be193520586b4aff75c033c511c4 (patch) | |
tree | 609cae9e59bd02201ab54a21462a2fd14079f372 | |
parent | 5f3aee471146c4a30bc63985d733b1235977439c (diff) |
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>
-rw-r--r-- | drivers/mailbox/arm_mhu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mailbox/arm_mhu.c b/drivers/mailbox/arm_mhu.c index 537f7bfb7b06..0950b7bce184 100644 --- a/drivers/mailbox/arm_mhu.c +++ b/drivers/mailbox/arm_mhu.c @@ -153,7 +153,7 @@ static int mhu_probe(struct amba_device *adev, const struct amba_id *id) return 0; } -static struct amba_id mhu_ids[] = { +static const struct amba_id mhu_ids[] = { { .id = 0x1bb098, .mask = 0xffffff, |