From: Joe Perches Date: Fri, 6 May 2011 18:04:55 +0000 (-0700) Subject: pcmcia: Make struct pcmcia_device_id const, sound drivers edition X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4ef7e71444b48cc89152cbc499ed94dde50515ee;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git pcmcia: Make struct pcmcia_device_id const, sound drivers edition Make declarations of struct pcmcia_device_id const. Signed-off-by: Joe Perches Signed-off-by: Dominik Brodowski --- diff --git a/sound/pcmcia/pdaudiocf/pdaudiocf.c b/sound/pcmcia/pdaudiocf/pdaudiocf.c index 8cc4733698a..ce33be0e4e9 100644 --- a/sound/pcmcia/pdaudiocf/pdaudiocf.c +++ b/sound/pcmcia/pdaudiocf/pdaudiocf.c @@ -278,7 +278,7 @@ static int pdacf_resume(struct pcmcia_device *link) /* * Module entry points */ -static struct pcmcia_device_id snd_pdacf_ids[] = { +static const struct pcmcia_device_id snd_pdacf_ids[] = { /* this is too general PCMCIA_DEVICE_MANF_CARD(0x015d, 0x4c45), */ PCMCIA_DEVICE_PROD_ID12("Core Sound","PDAudio-CF",0x396d19d2,0x71717b49), PCMCIA_DEVICE_NULL diff --git a/sound/pcmcia/vx/vxpocket.c b/sound/pcmcia/vx/vxpocket.c index 80000d631f8..d9ef21d8fa7 100644 --- a/sound/pcmcia/vx/vxpocket.c +++ b/sound/pcmcia/vx/vxpocket.c @@ -350,7 +350,7 @@ static void vxpocket_detach(struct pcmcia_device *link) * Module entry points */ -static struct pcmcia_device_id vxp_ids[] = { +static const struct pcmcia_device_id vxp_ids[] = { PCMCIA_DEVICE_MANF_CARD(0x01f1, 0x0100), PCMCIA_DEVICE_NULL };