aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2011-05-06 14:04:55 -0400
committerDominik Brodowski <linux@dominikbrodowski.net>2011-05-11 04:48:57 -0400
commit4ef7e71444b48cc89152cbc499ed94dde50515ee (patch)
tree13a0136359992d4e27261456ea58ce9715053fc8 /sound
parent2202a5a7490a9de282846ea8d4a56d0249e09033 (diff)
pcmcia: Make struct pcmcia_device_id const, sound drivers edition
Make declarations of struct pcmcia_device_id const. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'sound')
-rw-r--r--sound/pcmcia/pdaudiocf/pdaudiocf.c2
-rw-r--r--sound/pcmcia/vx/vxpocket.c2
2 files changed, 2 insertions, 2 deletions
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)
278/* 278/*
279 * Module entry points 279 * Module entry points
280 */ 280 */
281static struct pcmcia_device_id snd_pdacf_ids[] = { 281static const struct pcmcia_device_id snd_pdacf_ids[] = {
282 /* this is too general PCMCIA_DEVICE_MANF_CARD(0x015d, 0x4c45), */ 282 /* this is too general PCMCIA_DEVICE_MANF_CARD(0x015d, 0x4c45), */
283 PCMCIA_DEVICE_PROD_ID12("Core Sound","PDAudio-CF",0x396d19d2,0x71717b49), 283 PCMCIA_DEVICE_PROD_ID12("Core Sound","PDAudio-CF",0x396d19d2,0x71717b49),
284 PCMCIA_DEVICE_NULL 284 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)
350 * Module entry points 350 * Module entry points
351 */ 351 */
352 352
353static struct pcmcia_device_id vxp_ids[] = { 353static const struct pcmcia_device_id vxp_ids[] = {
354 PCMCIA_DEVICE_MANF_CARD(0x01f1, 0x0100), 354 PCMCIA_DEVICE_MANF_CARD(0x01f1, 0x0100),
355 PCMCIA_DEVICE_NULL 355 PCMCIA_DEVICE_NULL
356}; 356};