aboutsummaryrefslogtreecommitdiffstats
path: root/sound/isa/sb/sb8.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2020-01-05 15:48:00 +0100
committerTakashi Iwai <tiwai@suse.de>2020-01-05 16:15:00 +0100
commit2a076d0af49875d2806ff300b632ebc6a43720ee (patch)
tree7ef4a4d6bad760496c2af294b9a2b2f3734833e0 /sound/isa/sb/sb8.c
parentALSA: cs423x: More constification (diff)
downloadlinux-dev-2a076d0af49875d2806ff300b632ebc6a43720ee.tar.xz
linux-dev-2a076d0af49875d2806ff300b632ebc6a43720ee.zip
ALSA: sb: More constifications
Apply const prefix to each possible place: the static tables for the resources, controls, registers, values and parameters. Just for minor optimization and no functional changes. Link: https://lore.kernel.org/r/20200105144823.29547-46-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/isa/sb/sb8.c')
-rw-r--r--sound/isa/sb/sb8.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/isa/sb/sb8.c b/sound/isa/sb/sb8.c
index d67eae3988bd..438109f167d6 100644
--- a/sound/isa/sb/sb8.c
+++ b/sound/isa/sb/sb8.c
@@ -111,7 +111,7 @@ static int snd_sb8_probe(struct device *pdev, unsigned int dev)
goto _err;
} else {
/* auto-probe legacy ports */
- static unsigned long possible_ports[] = {
+ static const unsigned long possible_ports[] = {
0x220, 0x240, 0x260,
};
int i;