]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda: constify copied structure
authorJulia Lawall <Julia.Lawall@inria.fr>
Wed, 1 Jan 2020 07:43:20 +0000 (08:43 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 1 Jan 2020 11:39:27 +0000 (12:39 +0100)
commit96cf71bb7f66aa5b501a3c8942e3c4c513f3f0fe
treebf7f46e0d4415db0cc45121d04f10155835874ac
parentafb66451bde2a59d6be8ce95f18359329a514d17
ALSA: hda: constify copied structure

The azx_pcm_hw 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-3-git-send-email-Julia.Lawall@inria.fr
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_controller.c