]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: ad1816a: constify copied structure
authorJulia Lawall <Julia.Lawall@inria.fr>
Wed, 1 Jan 2020 07:43:19 +0000 (08:43 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 1 Jan 2020 11:36:19 +0000 (12:36 +0100)
commit559829bc40a5d96d6a941a090d4b9a157e88e7ce
treeffda4e0a64616cbb4b4e5d92f87b3f7d5a5fe072
parent1859818359cc44ceecc26da06ab53144ea4f1cee
ALSA: ad1816a: constify copied structure

The snd_ad1816a_timer_table structure is only copied into
another structure, so make it const.

The opportunity for this change was found using Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
Link: https://lore.kernel.org/r/1577864614-5543-2-git-send-email-Julia.Lawall@inria.fr
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/isa/ad1816a/ad1816a_lib.c