diff options
author | Takashi Iwai <tiwai@suse.de> | 2020-01-05 15:48:00 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2020-01-05 16:15:00 +0100 |
commit | 2a076d0af49875d2806ff300b632ebc6a43720ee (patch) | |
tree | 7ef4a4d6bad760496c2af294b9a2b2f3734833e0 /sound/isa/sb/sb8.c | |
parent | 58b5b363702de28e95541efeeb04626a0f2b43c4 (diff) | |
download | linux-rt-2a076d0af49875d2806ff300b632ebc6a43720ee.tar.gz |
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.c | 2 |
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; |