Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ALSA: sc6000: More constification

Apply const prefix to the static resource tables.

Just for minor optimization and no functional changes.

Link: https://lore.kernel.org/r/20200105144823.29547-53-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>

+2 -2
+2 -2
sound/isa/sc6000.c
··· 534 534 535 535 static int snd_sc6000_probe(struct device *devptr, unsigned int dev) 536 536 { 537 - static int possible_irqs[] = { 5, 7, 9, 10, 11, -1 }; 538 - static int possible_dmas[] = { 1, 3, 0, -1 }; 537 + static const int possible_irqs[] = { 5, 7, 9, 10, 11, -1 }; 538 + static const int possible_dmas[] = { 1, 3, 0, -1 }; 539 539 int err; 540 540 int xirq = irq[dev]; 541 541 int xdma = dma[dev];