diff mbox series

ALSA: arm: aaci: Constify amba_id table

Message ID 20250222114129.162794-1-krzysztof.kozlowski@linaro.org (mailing list archive)
State New
Headers show
Series ALSA: arm: aaci: Constify amba_id table | expand

Commit Message

Krzysztof Kozlowski Feb. 22, 2025, 11:41 a.m. UTC
'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>
---
 sound/arm/aaci.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/sound/arm/aaci.c b/sound/arm/aaci.c
index c3340b8ff3da..243965615ef2 100644
--- a/sound/arm/aaci.c
+++ b/sound/arm/aaci.c
@@ -1061,7 +1061,7 @@  static void aaci_remove(struct amba_device *dev)
 	}
 }
 
-static struct amba_id aaci_ids[] = {
+static const struct amba_id aaci_ids[] = {
 	{
 		.id	= 0x00041041,
 		.mask	= 0x000fffff,