From: Takashi Iwai Date: Fri, 3 Jan 2020 08:17:09 +0000 (+0100) Subject: ALSA: bt87x: Constify snd_bt87x_boards X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=baa9df207a8f9e0377ef26a262e29b9342e45738;p=linux.git ALSA: bt87x: Constify snd_bt87x_boards The snd_bt87x_boards array is referred as read-only, hence it can be declared as const gracefully. There should be no functional changes by this patch. Link: https://lore.kernel.org/r/20200103081714.9560-54-tiwai@suse.de Signed-off-by: Takashi Iwai --- diff --git a/sound/pci/bt87x.c b/sound/pci/bt87x.c index ece3f8971145d..8c48864c844ac 100644 --- a/sound/pci/bt87x.c +++ b/sound/pci/bt87x.c @@ -150,7 +150,7 @@ struct snd_bt87x_board { unsigned no_digital:1; /* No digital input */ }; -static struct snd_bt87x_board snd_bt87x_boards[] = { +static const struct snd_bt87x_board snd_bt87x_boards[] = { [SND_BT87X_BOARD_UNKNOWN] = { .dig_rate = 32000, /* just a guess */ },