diff options
author | Joe Perches <joe@perches.com> | 2011-05-03 22:29:01 -0400 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2011-05-06 01:46:22 -0400 |
commit | 25f8f54f6e178acfd503a95441b0ea05c525f751 (patch) | |
tree | 47837e1b55600602d129afb373670104f8012c60 /drivers/parport/parport_cs.c | |
parent | e9fb13bfec7e017130ddc5c1b5466340470f4900 (diff) |
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 <joe@perches.com>
Acked-by: Kurt Van Dijck <kurt.van.dijck@eia.be> (for drivers/net/can/softing/softing_cs.c)
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'drivers/parport/parport_cs.c')
-rw-r--r-- | drivers/parport/parport_cs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/parport/parport_cs.c b/drivers/parport/parport_cs.c index 787ebdeae310..067ad517c1f5 100644 --- a/drivers/parport/parport_cs.c +++ b/drivers/parport/parport_cs.c | |||
@@ -178,7 +178,7 @@ static void parport_cs_release(struct pcmcia_device *link) | |||
178 | } /* parport_cs_release */ | 178 | } /* parport_cs_release */ |
179 | 179 | ||
180 | 180 | ||
181 | static struct pcmcia_device_id parport_ids[] = { | 181 | static const struct pcmcia_device_id parport_ids[] = { |
182 | PCMCIA_DEVICE_FUNC_ID(3), | 182 | PCMCIA_DEVICE_FUNC_ID(3), |
183 | PCMCIA_MFC_DEVICE_PROD_ID12(1,"Elan","Serial+Parallel Port: SP230",0x3beb8cf2,0xdb9e58bc), | 183 | PCMCIA_MFC_DEVICE_PROD_ID12(1,"Elan","Serial+Parallel Port: SP230",0x3beb8cf2,0xdb9e58bc), |
184 | PCMCIA_DEVICE_MANF_CARD(0x0137, 0x0003), | 184 | PCMCIA_DEVICE_MANF_CARD(0x0137, 0x0003), |