Skip to content

Commit

Permalink
ALSA: sc6000: More constification
Browse files Browse the repository at this point in the history
Apply const prefix to the static resource tables.

Just for minor optimization and no functional changes.

Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
  • Loading branch information
tiwai committed Jan 5, 2020
1 parent 429bca4 commit 8fc1791
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sound/isa/sc6000.c
Original file line number Diff line number Diff line change
Expand Up @@ -534,8 +534,8 @@ static int snd_sc6000_match(struct device *devptr, unsigned int dev)

static int snd_sc6000_probe(struct device *devptr, unsigned int dev)
{
static int possible_irqs[] = { 5, 7, 9, 10, 11, -1 };
static int possible_dmas[] = { 1, 3, 0, -1 };
static const int possible_irqs[] = { 5, 7, 9, 10, 11, -1 };
static const int possible_dmas[] = { 1, 3, 0, -1 };
int err;
int xirq = irq[dev];
int xdma = dma[dev];
Expand Down

0 comments on commit 8fc1791

Please sign in to comment.