]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ALSA: arm: aaci: Constify amba_id table
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sat, 22 Feb 2025 11:41:29 +0000 (12:41 +0100)
committerTakashi Iwai <tiwai@suse.de>
Sun, 23 Feb 2025 17:14:49 +0000 (18:14 +0100)
'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>
Link: https://patch.msgid.link/20250222114129.162794-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/arm/aaci.c

index c3340b8ff3dafe683416f5e34ce122206543b97d..243965615ef2ba1a377714619a2493aabe3dd5e3 100644 (file)
@@ -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,