]> Pileus Git - ~andy/linux/commitdiff
pcmcia: Make struct pcmcia_device_id const, sound drivers edition
authorJoe Perches <joe@perches.com>
Fri, 6 May 2011 18:04:55 +0000 (11:04 -0700)
committerDominik Brodowski <linux@dominikbrodowski.net>
Wed, 11 May 2011 08:48:57 +0000 (10:48 +0200)
Make declarations of struct pcmcia_device_id const.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
sound/pcmcia/pdaudiocf/pdaudiocf.c
sound/pcmcia/vx/vxpocket.c

index 8cc4733698a0f02d7de84de2cf4aec3b8c683584..ce33be0e4e9841f5864d95b4e091cdb4cf69df43 100644 (file)
@@ -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
index 80000d631f88366deeeaae70588dec5d3c960830..d9ef21d8fa7321fff082401301adcfc60fb102d1 100644 (file)
@@ -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
 };