From: Krzysztof Kozlowski Date: Sat, 22 Feb 2025 11:36:21 +0000 (+0100) Subject: mailbox: arm_mhuv2: Constify amba_id table X-Git-Tag: v6.15-rc1~100^2~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d3e2ea64973f517989e7fc6416d17f34f8dc4002;p=thirdparty%2Fkernel%2Flinux.git 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 Signed-off-by: Jassi Brar --- diff --git a/drivers/mailbox/arm_mhuv2.c b/drivers/mailbox/arm_mhuv2.c index cff7c343ee082..f035284944c05 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,