Commit 4ef7e714 authored by Joe Perches's avatar Joe Perches Committed by Dominik Brodowski

pcmcia: Make struct pcmcia_device_id const, sound drivers edition

Make declarations of struct pcmcia_device_id const.
Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarDominik Brodowski <linux@dominikbrodowski.net>
parent 2202a5a7
...@@ -278,7 +278,7 @@ static int pdacf_resume(struct pcmcia_device *link) ...@@ -278,7 +278,7 @@ static int pdacf_resume(struct pcmcia_device *link)
/* /*
* Module entry points * 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), */ /* this is too general PCMCIA_DEVICE_MANF_CARD(0x015d, 0x4c45), */
PCMCIA_DEVICE_PROD_ID12("Core Sound","PDAudio-CF",0x396d19d2,0x71717b49), PCMCIA_DEVICE_PROD_ID12("Core Sound","PDAudio-CF",0x396d19d2,0x71717b49),
PCMCIA_DEVICE_NULL PCMCIA_DEVICE_NULL
......
...@@ -350,7 +350,7 @@ static void vxpocket_detach(struct pcmcia_device *link) ...@@ -350,7 +350,7 @@ static void vxpocket_detach(struct pcmcia_device *link)
* Module entry points * 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_MANF_CARD(0x01f1, 0x0100),
PCMCIA_DEVICE_NULL PCMCIA_DEVICE_NULL
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment