diff options
author | 2025-02-22 12:36:21 +0100 | |
---|---|---|
committer | 2025-03-26 20:58:25 -0500 | |
commit | d3e2ea64973f517989e7fc6416d17f34f8dc4002 (patch) | |
tree | 42bb0a8160fe3c541f604030d2e9564ab211e8d9 /drivers/mailbox | |
parent | mailbox: arm_mhu_db: Constify amba_id table (diff) | |
download | wireguard-linux-d3e2ea64973f517989e7fc6416d17f34f8dc4002.tar.xz wireguard-linux-d3e2ea64973f517989e7fc6416d17f34f8dc4002.zip |
mailbox: arm_mhuv2: 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>
Diffstat (limited to 'drivers/mailbox')
-rw-r--r-- | drivers/mailbox/arm_mhuv2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mailbox/arm_mhuv2.c b/drivers/mailbox/arm_mhuv2.c index cff7c343ee08..f035284944c0 100644 --- a/drivers/mailbox/arm_mhuv2.c +++ b/drivers/mailbox/arm_mhuv2.c @@ -1107,7 +1107,7 @@ static void mhuv2_remove(struct amba_device *adev) writel_relaxed(0x0, &mhu->send->access_request); } -static struct amba_id mhuv2_ids[] = { +static const struct amba_id mhuv2_ids[] = { { /* 2.0 */ .id = 0xbb0d1, |