pcmcia: Convert pcmcia_device_id declarations to const

Saves about 50KB of data.

Old/new size of all objects:
   text	   data	    bss	    dec	    hex	filename
 563015	  80096	 130684	 773795	  bcea3	(TOTALS)
 610916	  32256	 130632	 773804	  bceac	(TOTALS)

Signed-off-by: Joe Perches <[email protected]>
Acked-by: Kurt Van Dijck <[email protected]> (for drivers/net/can/softing/softing_cs.c)
Signed-off-by: Dominik Brodowski <[email protected]>
This commit is contained in:
Joe Perches 2011-05-03 19:29:01 -07:00 • committed by Dominik Brodowski
commit 25f8f54f6e
46 changed files with 47 additions and 47 deletions

View file

@ -309,7 +309,7 @@ static void pcmcia_remove_one(struct pcmcia_device *pdev)
pcmcia_disable_device(pdev);
}
static struct pcmcia_device_id pcmcia_devices[] = {
static const struct pcmcia_device_id pcmcia_devices[] = {
PCMCIA_DEVICE_FUNC_ID(4),
PCMCIA_DEVICE_MANF_CARD(0x0000, 0x0000), /* Corsair */
PCMCIA_DEVICE_MANF_CARD(0x0007, 0x0000), /* Hitachi */