ALSA: Allow const arrays for legacy resource management helpers
authorTakashi Iwai <tiwai@suse.de>
Sun, 5 Jan 2020 14:47:16 +0000 (15:47 +0100)
committerTakashi Iwai <tiwai@suse.de>
Sun, 5 Jan 2020 15:14:26 +0000 (16:14 +0100)
commitf5f87abfb745aa6eb5c5f9bdf8b5a64600692506
tree9e29cf4bb2a6ba65222963ab43f4224ac9b78a9a
parent8be03a7177c36bfc05bbe9f4949cdeba57f1c2ab
ALSA: Allow const arrays for legacy resource management helpers

Declare the arrays passed to the helper functions for legacy resources
(mostly for ISA drivers) as const, so that each caller can make its
static data as const for minor optimizations, too.

Link: https://lore.kernel.org/r/20200105144823.29547-2-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/initval.h