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/net/pcmcia/xirc2ps_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/net/pcmcia/xirc2ps_cs.c')
-rw-r--r-- | drivers/net/pcmcia/xirc2ps_cs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/pcmcia/xirc2ps_cs.c b/drivers/net/pcmcia/xirc2ps_cs.c index a46b7fd6c0f..e33b190d716 100644 --- a/drivers/net/pcmcia/xirc2ps_cs.c +++ b/drivers/net/pcmcia/xirc2ps_cs.c | |||
@@ -1738,7 +1738,7 @@ do_stop(struct net_device *dev) | |||
1738 | return 0; | 1738 | return 0; |
1739 | } | 1739 | } |
1740 | 1740 | ||
1741 | static struct pcmcia_device_id xirc2ps_ids[] = { | 1741 | static const struct pcmcia_device_id xirc2ps_ids[] = { |
1742 | PCMCIA_PFC_DEVICE_MANF_CARD(0, 0x0089, 0x110a), | 1742 | PCMCIA_PFC_DEVICE_MANF_CARD(0, 0x0089, 0x110a), |
1743 | PCMCIA_PFC_DEVICE_MANF_CARD(0, 0x0138, 0x110a), | 1743 | PCMCIA_PFC_DEVICE_MANF_CARD(0, 0x0138, 0x110a), |
1744 | PCMCIA_PFC_DEVICE_PROD_ID13(0, "Xircom", "CEM28", 0x2e3ee845, 0x0ea978ea), | 1744 | PCMCIA_PFC_DEVICE_PROD_ID13(0, "Xircom", "CEM28", 0x2e3ee845, 0x0ea978ea), |