From: Krzysztof Kozlowski Date: Sat, 22 Feb 2025 11:36:20 +0000 (+0100) Subject: mailbox: arm_mhu_db: Constify amba_id table X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=7566d5b6704afa988c06a700362dd13d4f430c17;p=users%2Fjedix%2Flinux-maple.git mailbox: arm_mhu_db: 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_mhu_db.c b/drivers/mailbox/arm_mhu_db.c index 27a510d469082..9e937b09c5fbc 100644 --- a/drivers/mailbox/arm_mhu_db.c +++ b/drivers/mailbox/arm_mhu_db.c @@ -328,7 +328,7 @@ static int mhu_db_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,