]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit66e78d315043ce7f58c2ab7bca4522b4eb848cc2
tree9e29cf4bb2a6ba65222963ab43f4224ac9b78a9a
parent5e960e11d4a53a52cbf370e46c1520c5b1c687fc
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