ALSA: opti9xx: constify pnp_card_device_id
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Thu, 17 Aug 2017 10:06:27 +0000 (15:36 +0530)
committerTakashi Iwai <tiwai@suse.de>
Thu, 17 Aug 2017 10:42:28 +0000 (12:42 +0200)
commit529d25761173cba9e5cd8e1629c6477a141fce6d
treeeb7421e33b79c277156c36cb4da056f2f3dfd825
parent1ef428bf9bb2d2580630c4ea1f74af8f79de8398
ALSA: opti9xx: constify pnp_card_device_id

pnp_card_device_id are not supposed to change at runtime. All functions
working with pnp_card_device_id provided by <linux/pnp.h> work with
const pnp_card_device_id. So mark the non-const structs as const.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/isa/opti9xx/miro.c
sound/isa/opti9xx/opti92x-ad1848.c