OSDN Git Service

ALSA: opl3sa2: constify pnp_device_id and pnp_card_device_id
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Thu, 17 Aug 2017 10:06:18 +0000 (15:36 +0530)
committerTakashi Iwai <tiwai@suse.de>
Thu, 17 Aug 2017 10:42:16 +0000 (12:42 +0200)
commit607b5d7f7a03c98705ba08c8f3a328ea5f678076
treecb0827a88fb4e88356e499a978dec2c74cd2b8bd
parent05cb183e87931c722b9bc2e2e59243628efaab75
ALSA: opl3sa2: constify pnp_device_id and pnp_card_device_id

*_device_id are not supposed to change at runtime. All functions
working with *_device_id provided by <linux/pnp.h> work with
const *_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/opl3sa2.c