diff options
60 files changed, 63 insertions, 63 deletions
diff --git a/drivers/ata/pata_pcmcia.c b/drivers/ata/pata_pcmcia.c index 29af660d968b..021abe6d8527 100644 --- a/drivers/ata/pata_pcmcia.c +++ b/drivers/ata/pata_pcmcia.c | |||
@@ -309,7 +309,7 @@ static void pcmcia_remove_one(struct pcmcia_device *pdev) | |||
309 | pcmcia_disable_device(pdev); | 309 | pcmcia_disable_device(pdev); |
310 | } | 310 | } |
311 | 311 | ||
312 | static struct pcmcia_device_id pcmcia_devices[] = { | 312 | static const struct pcmcia_device_id pcmcia_devices[] = { |
313 | PCMCIA_DEVICE_FUNC_ID(4), | 313 | PCMCIA_DEVICE_FUNC_ID(4), |
314 | PCMCIA_DEVICE_MANF_CARD(0x0000, 0x0000), /* Corsair */ | 314 | PCMCIA_DEVICE_MANF_CARD(0x0000, 0x0000), /* Corsair */ |
315 | PCMCIA_DEVICE_MANF_CARD(0x0007, 0x0000), /* Hitachi */ | 315 | PCMCIA_DEVICE_MANF_CARD(0x0007, 0x0000), /* Hitachi */ |
diff --git a/drivers/bluetooth/bluecard_cs.c b/drivers/bluetooth/bluecard_cs.c index 4104b7feae67..aed1904ea67b 100644 --- a/drivers/bluetooth/bluecard_cs.c +++ b/drivers/bluetooth/bluecard_cs.c | |||
@@ -930,7 +930,7 @@ static void bluecard_release(struct pcmcia_device *link) | |||
930 | pcmcia_disable_device(link); | 930 | pcmcia_disable_device(link); |
931 | } | 931 | } |
932 | 932 | ||
933 | static struct pcmcia_device_id bluecard_ids[] = { | 933 | static const struct pcmcia_device_id bluecard_ids[] = { |
934 | PCMCIA_DEVICE_PROD_ID12("BlueCard", "LSE041", 0xbaf16fbf, 0x657cc15e), | 934 | PCMCIA_DEVICE_PROD_ID12("BlueCard", "LSE041", 0xbaf16fbf, 0x657cc15e), |
935 | PCMCIA_DEVICE_PROD_ID12("BTCFCARD", "LSE139", 0xe3987764, 0x2524b59c), | 935 | PCMCIA_DEVICE_PROD_ID12("BTCFCARD", "LSE139", 0xe3987764, 0x2524b59c), |
936 | PCMCIA_DEVICE_PROD_ID12("WSS", "LSE039", 0x0a0736ec, 0x24e6dfab), | 936 | PCMCIA_DEVICE_PROD_ID12("WSS", "LSE039", 0x0a0736ec, 0x24e6dfab), |
diff --git a/drivers/bluetooth/bt3c_cs.c b/drivers/bluetooth/bt3c_cs.c index 0c8a65587491..4fc01949d399 100644 --- a/drivers/bluetooth/bt3c_cs.c +++ b/drivers/bluetooth/bt3c_cs.c | |||
@@ -761,7 +761,7 @@ static void bt3c_release(struct pcmcia_device *link) | |||
761 | } | 761 | } |
762 | 762 | ||
763 | 763 | ||
764 | static struct pcmcia_device_id bt3c_ids[] = { | 764 | static const struct pcmcia_device_id bt3c_ids[] = { |
765 | PCMCIA_DEVICE_PROD_ID13("3COM", "Bluetooth PC Card", 0xefce0a31, 0xd4ce9b02), | 765 | PCMCIA_DEVICE_PROD_ID13("3COM", "Bluetooth PC Card", 0xefce0a31, 0xd4ce9b02), |
766 | PCMCIA_DEVICE_NULL | 766 | PCMCIA_DEVICE_NULL |
767 | }; | 767 | }; |
diff --git a/drivers/bluetooth/btuart_cs.c b/drivers/bluetooth/btuart_cs.c index f8a0708e2311..526b61807d94 100644 --- a/drivers/bluetooth/btuart_cs.c +++ b/drivers/bluetooth/btuart_cs.c | |||
@@ -689,7 +689,7 @@ static void btuart_release(struct pcmcia_device *link) | |||
689 | pcmcia_disable_device(link); | 689 | pcmcia_disable_device(link); |
690 | } | 690 | } |
691 | 691 | ||
692 | static struct pcmcia_device_id btuart_ids[] = { | 692 | static const struct pcmcia_device_id btuart_ids[] = { |
693 | /* don't use this driver. Use serial_cs + hci_uart instead */ | 693 | /* don't use this driver. Use serial_cs + hci_uart instead */ |
694 | PCMCIA_DEVICE_NULL | 694 | PCMCIA_DEVICE_NULL |
695 | }; | 695 | }; |
diff --git a/drivers/bluetooth/dtl1_cs.c b/drivers/bluetooth/dtl1_cs.c index 26ee0cf88d20..5e4c2de9fc3f 100644 --- a/drivers/bluetooth/dtl1_cs.c +++ b/drivers/bluetooth/dtl1_cs.c | |||
@@ -636,7 +636,7 @@ static void dtl1_release(struct pcmcia_device *link) | |||
636 | } | 636 | } |
637 | 637 | ||
638 | 638 | ||
639 | static struct pcmcia_device_id dtl1_ids[] = { | 639 | static const struct pcmcia_device_id dtl1_ids[] = { |
640 | PCMCIA_DEVICE_PROD_ID12("Nokia Mobile Phones", "DTL-1", 0xe1bfdd64, 0xe168480d), | 640 | PCMCIA_DEVICE_PROD_ID12("Nokia Mobile Phones", "DTL-1", 0xe1bfdd64, 0xe168480d), |
641 | PCMCIA_DEVICE_PROD_ID12("Nokia Mobile Phones", "DTL-4", 0xe1bfdd64, 0x9102bc82), | 641 | PCMCIA_DEVICE_PROD_ID12("Nokia Mobile Phones", "DTL-4", 0xe1bfdd64, 0x9102bc82), |
642 | PCMCIA_DEVICE_PROD_ID12("Socket", "CF", 0xb38bcc2e, 0x44ebf863), | 642 | PCMCIA_DEVICE_PROD_ID12("Socket", "CF", 0xb38bcc2e, 0x44ebf863), |
diff --git a/drivers/char/pcmcia/cm4000_cs.c b/drivers/char/pcmcia/cm4000_cs.c index 90bd01671c70..a7584860e9a7 100644 --- a/drivers/char/pcmcia/cm4000_cs.c +++ b/drivers/char/pcmcia/cm4000_cs.c | |||
@@ -1869,7 +1869,7 @@ static const struct file_operations cm4000_fops = { | |||
1869 | .llseek = no_llseek, | 1869 | .llseek = no_llseek, |
1870 | }; | 1870 | }; |
1871 | 1871 | ||
1872 | static struct pcmcia_device_id cm4000_ids[] = { | 1872 | static const struct pcmcia_device_id cm4000_ids[] = { |
1873 | PCMCIA_DEVICE_MANF_CARD(0x0223, 0x0002), | 1873 | PCMCIA_DEVICE_MANF_CARD(0x0223, 0x0002), |
1874 | PCMCIA_DEVICE_PROD_ID12("CardMan", "4000", 0x2FB368CA, 0xA2BD8C39), | 1874 | PCMCIA_DEVICE_PROD_ID12("CardMan", "4000", 0x2FB368CA, 0xA2BD8C39), |
1875 | PCMCIA_DEVICE_NULL, | 1875 | PCMCIA_DEVICE_NULL, |
diff --git a/drivers/char/pcmcia/cm4040_cs.c b/drivers/char/pcmcia/cm4040_cs.c index 5d8d59e865f4..8dd48a2be911 100644 --- a/drivers/char/pcmcia/cm4040_cs.c +++ b/drivers/char/pcmcia/cm4040_cs.c | |||
@@ -633,7 +633,7 @@ static const struct file_operations reader_fops = { | |||
633 | .llseek = no_llseek, | 633 | .llseek = no_llseek, |
634 | }; | 634 | }; |
635 | 635 | ||
636 | static struct pcmcia_device_id cm4040_ids[] = { | 636 | static const struct pcmcia_device_id cm4040_ids[] = { |
637 | PCMCIA_DEVICE_MANF_CARD(0x0223, 0x0200), | 637 | PCMCIA_DEVICE_MANF_CARD(0x0223, 0x0200), |
638 | PCMCIA_DEVICE_PROD_ID12("OMNIKEY", "CardMan 4040", | 638 | PCMCIA_DEVICE_PROD_ID12("OMNIKEY", "CardMan 4040", |
639 | 0xE32CDD8C, 0x8F23318B), | 639 | 0xE32CDD8C, 0x8F23318B), |
diff --git a/drivers/char/pcmcia/synclink_cs.c b/drivers/char/pcmcia/synclink_cs.c index b575411c69b2..15781396af25 100644 --- a/drivers/char/pcmcia/synclink_cs.c +++ b/drivers/char/pcmcia/synclink_cs.c | |||
@@ -2758,7 +2758,7 @@ static void mgslpc_remove_device(MGSLPC_INFO *remove_info) | |||
2758 | } | 2758 | } |
2759 | } | 2759 | } |
2760 | 2760 | ||
2761 | static struct pcmcia_device_id mgslpc_ids[] = { | 2761 | static const struct pcmcia_device_id mgslpc_ids[] = { |
2762 | PCMCIA_DEVICE_MANF_CARD(0x02c5, 0x0050), | 2762 | PCMCIA_DEVICE_MANF_CARD(0x02c5, 0x0050), |
2763 | PCMCIA_DEVICE_NULL | 2763 | PCMCIA_DEVICE_NULL |
2764 | }; | 2764 | }; |
diff --git a/drivers/ide/ide-cs.c b/drivers/ide/ide-cs.c index 404843e8611b..d2f3db3cf3ed 100644 --- a/drivers/ide/ide-cs.c +++ b/drivers/ide/ide-cs.c | |||
@@ -272,7 +272,7 @@ static void ide_release(struct pcmcia_device *link) | |||
272 | } /* ide_release */ | 272 | } /* ide_release */ |
273 | 273 | ||
274 | 274 | ||
275 | static struct pcmcia_device_id ide_ids[] = { | 275 | static const struct pcmcia_device_id ide_ids[] = { |
276 | PCMCIA_DEVICE_FUNC_ID(4), | 276 | PCMCIA_DEVICE_FUNC_ID(4), |
277 | PCMCIA_DEVICE_MANF_CARD(0x0000, 0x0000), /* Corsair */ | 277 | PCMCIA_DEVICE_MANF_CARD(0x0000, 0x0000), /* Corsair */ |
278 | PCMCIA_DEVICE_MANF_CARD(0x0007, 0x0000), /* Hitachi */ | 278 | PCMCIA_DEVICE_MANF_CARD(0x0007, 0x0000), /* Hitachi */ |
diff --git a/drivers/isdn/hardware/avm/avm_cs.c b/drivers/isdn/hardware/avm/avm_cs.c index 91f06a3ef002..61f516f376dc 100644 --- a/drivers/isdn/hardware/avm/avm_cs.c +++ b/drivers/isdn/hardware/avm/avm_cs.c | |||
@@ -149,7 +149,7 @@ static void avmcs_release(struct pcmcia_device *link) | |||
149 | } /* avmcs_release */ | 149 | } /* avmcs_release */ |
150 | 150 | ||
151 | 151 | ||
152 | static struct pcmcia_device_id avmcs_ids[] = { | 152 | static const struct pcmcia_device_id avmcs_ids[] = { |
153 | PCMCIA_DEVICE_PROD_ID12("AVM", "ISDN-Controller B1", 0x95d42008, 0x845dc335), | 153 | PCMCIA_DEVICE_PROD_ID12("AVM", "ISDN-Controller B1", 0x95d42008, 0x845dc335), |
154 | PCMCIA_DEVICE_PROD_ID12("AVM", "Mobile ISDN-Controller M1", 0x95d42008, 0x81e10430), | 154 | PCMCIA_DEVICE_PROD_ID12("AVM", "Mobile ISDN-Controller M1", 0x95d42008, 0x81e10430), |
155 | PCMCIA_DEVICE_PROD_ID12("AVM", "Mobile ISDN-Controller M2", 0x95d42008, 0x18e8558a), | 155 | PCMCIA_DEVICE_PROD_ID12("AVM", "Mobile ISDN-Controller M2", 0x95d42008, 0x18e8558a), |
diff --git a/drivers/isdn/hisax/avma1_cs.c b/drivers/isdn/hisax/avma1_cs.c index ac4dd7857cbd..8f0ad2a52e87 100644 --- a/drivers/isdn/hisax/avma1_cs.c +++ b/drivers/isdn/hisax/avma1_cs.c | |||
@@ -146,7 +146,7 @@ static void avma1cs_release(struct pcmcia_device *link) | |||
146 | pcmcia_disable_device(link); | 146 | pcmcia_disable_device(link); |
147 | } /* avma1cs_release */ | 147 | } /* avma1cs_release */ |
148 | 148 | ||
149 | static struct pcmcia_device_id avma1cs_ids[] = { | 149 | static const struct pcmcia_device_id avma1cs_ids[] = { |
150 | PCMCIA_DEVICE_PROD_ID12("AVM", "ISDN A", 0x95d42008, 0xadc9d4bb), | 150 | PCMCIA_DEVICE_PROD_ID12("AVM", "ISDN A", 0x95d42008, 0xadc9d4bb), |
151 | PCMCIA_DEVICE_PROD_ID12("ISDN", "CARD", 0x8d9761c8, 0x01c5aa7b), | 151 | PCMCIA_DEVICE_PROD_ID12("ISDN", "CARD", 0x8d9761c8, 0x01c5aa7b), |
152 | PCMCIA_DEVICE_NULL | 152 | PCMCIA_DEVICE_NULL |
diff --git a/drivers/isdn/hisax/elsa_cs.c b/drivers/isdn/hisax/elsa_cs.c index 9e5e87be756b..f0b6c0ef99bb 100644 --- a/drivers/isdn/hisax/elsa_cs.c +++ b/drivers/isdn/hisax/elsa_cs.c | |||
@@ -200,7 +200,7 @@ static int elsa_resume(struct pcmcia_device *link) | |||
200 | return 0; | 200 | return 0; |
201 | } | 201 | } |
202 | 202 | ||
203 | static struct pcmcia_device_id elsa_ids[] = { | 203 | static const struct pcmcia_device_id elsa_ids[] = { |
204 | PCMCIA_DEVICE_PROD_ID12("ELSA AG (Aachen, Germany)", "MicroLink ISDN/MC ", 0x983de2c4, 0x333ba257), | 204 | PCMCIA_DEVICE_PROD_ID12("ELSA AG (Aachen, Germany)", "MicroLink ISDN/MC ", 0x983de2c4, 0x333ba257), |
205 | PCMCIA_DEVICE_PROD_ID12("ELSA GmbH, Aachen", "MicroLink ISDN/MC ", 0x639e5718, 0x333ba257), | 205 | PCMCIA_DEVICE_PROD_ID12("ELSA GmbH, Aachen", "MicroLink ISDN/MC ", 0x639e5718, 0x333ba257), |
206 | PCMCIA_DEVICE_NULL | 206 | PCMCIA_DEVICE_NULL |
diff --git a/drivers/isdn/hisax/sedlbauer_cs.c b/drivers/isdn/hisax/sedlbauer_cs.c index 360204bc2777..06473f81f039 100644 --- a/drivers/isdn/hisax/sedlbauer_cs.c +++ b/drivers/isdn/hisax/sedlbauer_cs.c | |||
@@ -186,7 +186,7 @@ static int sedlbauer_resume(struct pcmcia_device *link) | |||
186 | } | 186 | } |
187 | 187 | ||
188 | 188 | ||
189 | static struct pcmcia_device_id sedlbauer_ids[] = { | 189 | static const struct pcmcia_device_id sedlbauer_ids[] = { |
190 | PCMCIA_DEVICE_PROD_ID123("SEDLBAUER", "speed star II", "V 3.1", 0x81fb79f5, 0xf3612e1d, 0x6b95c78a), | 190 | PCMCIA_DEVICE_PROD_ID123("SEDLBAUER", "speed star II", "V 3.1", 0x81fb79f5, 0xf3612e1d, 0x6b95c78a), |
191 | PCMCIA_DEVICE_PROD_ID123("SEDLBAUER", "ISDN-Adapter", "4D67", 0x81fb79f5, 0xe4e9bc12, 0x397b7e90), | 191 | PCMCIA_DEVICE_PROD_ID123("SEDLBAUER", "ISDN-Adapter", "4D67", 0x81fb79f5, 0xe4e9bc12, 0x397b7e90), |
192 | PCMCIA_DEVICE_PROD_ID123("SEDLBAUER", "ISDN-Adapter", "4D98", 0x81fb79f5, 0xe4e9bc12, 0x2e5c7fce), | 192 | PCMCIA_DEVICE_PROD_ID123("SEDLBAUER", "ISDN-Adapter", "4D98", 0x81fb79f5, 0xe4e9bc12, 0x2e5c7fce), |
diff --git a/drivers/isdn/hisax/teles_cs.c b/drivers/isdn/hisax/teles_cs.c index 360f9ec7c802..161a1938552e 100644 --- a/drivers/isdn/hisax/teles_cs.c +++ b/drivers/isdn/hisax/teles_cs.c | |||
@@ -183,7 +183,7 @@ static int teles_resume(struct pcmcia_device *link) | |||
183 | } | 183 | } |
184 | 184 | ||
185 | 185 | ||
186 | static struct pcmcia_device_id teles_ids[] = { | 186 | static const struct pcmcia_device_id teles_ids[] = { |
187 | PCMCIA_DEVICE_PROD_ID12("TELES", "S0/PC", 0x67b50eae, 0xe9e70119), | 187 | PCMCIA_DEVICE_PROD_ID12("TELES", "S0/PC", 0x67b50eae, 0xe9e70119), |
188 | PCMCIA_DEVICE_NULL, | 188 | PCMCIA_DEVICE_NULL, |
189 | }; | 189 | }; |
diff --git a/drivers/mmc/host/sdricoh_cs.c b/drivers/mmc/host/sdricoh_cs.c index bbc298fd2a15..496b7efbc6b0 100644 --- a/drivers/mmc/host/sdricoh_cs.c +++ b/drivers/mmc/host/sdricoh_cs.c | |||
@@ -76,7 +76,7 @@ static unsigned int switchlocked; | |||
76 | #define BUSY_TIMEOUT 32767 | 76 | #define BUSY_TIMEOUT 32767 |
77 | 77 | ||
78 | /* list of supported pcmcia devices */ | 78 | /* list of supported pcmcia devices */ |
79 | static struct pcmcia_device_id pcmcia_ids[] = { | 79 | static const struct pcmcia_device_id pcmcia_ids[] = { |
80 | /* vendor and device strings followed by their crc32 hashes */ | 80 | /* vendor and device strings followed by their crc32 hashes */ |
81 | PCMCIA_DEVICE_PROD_ID12("RICOH", "Bay1Controller", 0xd9f522ed, | 81 | PCMCIA_DEVICE_PROD_ID12("RICOH", "Bay1Controller", 0xd9f522ed, |
82 | 0xc3901202), | 82 | 0xc3901202), |
diff --git a/drivers/mtd/maps/pcmciamtd.c b/drivers/mtd/maps/pcmciamtd.c index 6799e75d74e0..33dc2829b01b 100644 --- a/drivers/mtd/maps/pcmciamtd.c +++ b/drivers/mtd/maps/pcmciamtd.c | |||
@@ -694,7 +694,7 @@ static int pcmciamtd_probe(struct pcmcia_device *link) | |||
694 | return pcmciamtd_config(link); | 694 | return pcmciamtd_config(link); |
695 | } | 695 | } |
696 | 696 | ||
697 | static struct pcmcia_device_id pcmciamtd_ids[] = { | 697 | static const struct pcmcia_device_id pcmciamtd_ids[] = { |
698 | PCMCIA_DEVICE_FUNC_ID(1), | 698 | PCMCIA_DEVICE_FUNC_ID(1), |
699 | PCMCIA_DEVICE_PROD_ID123("IO DATA", "PCS-2M", "2MB SRAM", 0x547e66dc, 0x1fed36cd, 0x36eadd21), | 699 | PCMCIA_DEVICE_PROD_ID123("IO DATA", "PCS-2M", "2MB SRAM", 0x547e66dc, 0x1fed36cd, 0x36eadd21), |
700 | PCMCIA_DEVICE_PROD_ID12("IBM", "2MB SRAM", 0xb569a6e5, 0x36eadd21), | 700 | PCMCIA_DEVICE_PROD_ID12("IBM", "2MB SRAM", 0xb569a6e5, 0x36eadd21), |
diff --git a/drivers/net/can/softing/softing_cs.c b/drivers/net/can/softing/softing_cs.c index c11bb4de8630..c0e1b1eb87a9 100644 --- a/drivers/net/can/softing/softing_cs.c +++ b/drivers/net/can/softing/softing_cs.c | |||
@@ -315,7 +315,7 @@ pcmcia_failed: | |||
315 | return ret ?: -ENODEV; | 315 | return ret ?: -ENODEV; |
316 | } | 316 | } |
317 | 317 | ||
318 | static /*const*/ struct pcmcia_device_id softingcs_ids[] = { | 318 | static const struct pcmcia_device_id softingcs_ids[] = { |
319 | /* softing */ | 319 | /* softing */ |
320 | PCMCIA_DEVICE_MANF_CARD(0x0168, 0x0001), | 320 | PCMCIA_DEVICE_MANF_CARD(0x0168, 0x0001), |
321 | PCMCIA_DEVICE_MANF_CARD(0x0168, 0x0002), | 321 | PCMCIA_DEVICE_MANF_CARD(0x0168, 0x0002), |
diff --git a/drivers/net/pcmcia/3c574_cs.c b/drivers/net/pcmcia/3c574_cs.c index 81ac330f931d..34c5e1cbf65d 100644 --- a/drivers/net/pcmcia/3c574_cs.c +++ b/drivers/net/pcmcia/3c574_cs.c | |||
@@ -1150,7 +1150,7 @@ static int el3_close(struct net_device *dev) | |||
1150 | return 0; | 1150 | return 0; |
1151 | } | 1151 | } |
1152 | 1152 | ||
1153 | static struct pcmcia_device_id tc574_ids[] = { | 1153 | static const struct pcmcia_device_id tc574_ids[] = { |
1154 | PCMCIA_DEVICE_MANF_CARD(0x0101, 0x0574), | 1154 | PCMCIA_DEVICE_MANF_CARD(0x0101, 0x0574), |
1155 | PCMCIA_MFC_DEVICE_CIS_MANF_CARD(0, 0x0101, 0x0556, "cis/3CCFEM556.cis"), | 1155 | PCMCIA_MFC_DEVICE_CIS_MANF_CARD(0, 0x0101, 0x0556, "cis/3CCFEM556.cis"), |
1156 | PCMCIA_DEVICE_NULL, | 1156 | PCMCIA_DEVICE_NULL, |
diff --git a/drivers/net/pcmcia/3c589_cs.c b/drivers/net/pcmcia/3c589_cs.c index 79b9ca0dbdb4..4a1a35809807 100644 --- a/drivers/net/pcmcia/3c589_cs.c +++ b/drivers/net/pcmcia/3c589_cs.c | |||
@@ -908,7 +908,7 @@ static int el3_close(struct net_device *dev) | |||
908 | return 0; | 908 | return 0; |
909 | } | 909 | } |
910 | 910 | ||
911 | static struct pcmcia_device_id tc589_ids[] = { | 911 | static const struct pcmcia_device_id tc589_ids[] = { |
912 | PCMCIA_MFC_DEVICE_MANF_CARD(0, 0x0101, 0x0562), | 912 | PCMCIA_MFC_DEVICE_MANF_CARD(0, 0x0101, 0x0562), |
913 | PCMCIA_MFC_DEVICE_PROD_ID1(0, "Motorola MARQUIS", 0xf03e4e77), | 913 | PCMCIA_MFC_DEVICE_PROD_ID1(0, "Motorola MARQUIS", 0xf03e4e77), |
914 | PCMCIA_DEVICE_MANF_CARD(0x0101, 0x0589), | 914 | PCMCIA_DEVICE_MANF_CARD(0x0101, 0x0589), |
diff --git a/drivers/net/pcmcia/axnet_cs.c b/drivers/net/pcmcia/axnet_cs.c index 3077d72e8222..9953db711969 100644 --- a/drivers/net/pcmcia/axnet_cs.c +++ b/drivers/net/pcmcia/axnet_cs.c | |||
@@ -687,7 +687,7 @@ static void block_output(struct net_device *dev, int count, | |||
687 | outsw(nic_base + AXNET_DATAPORT, buf, count>>1); | 687 | outsw(nic_base + AXNET_DATAPORT, buf, count>>1); |
688 | } | 688 | } |
689 | 689 | ||
690 | static struct pcmcia_device_id axnet_ids[] = { | 690 | static const struct pcmcia_device_id axnet_ids[] = { |
691 | PCMCIA_PFC_DEVICE_MANF_CARD(0, 0x016c, 0x0081), | 691 | PCMCIA_PFC_DEVICE_MANF_CARD(0, 0x016c, 0x0081), |
692 | PCMCIA_DEVICE_MANF_CARD(0x018a, 0x0301), | 692 | PCMCIA_DEVICE_MANF_CARD(0x018a, 0x0301), |
693 | PCMCIA_DEVICE_MANF_CARD(0x01bf, 0x2328), | 693 | PCMCIA_DEVICE_MANF_CARD(0x01bf, 0x2328), |
diff --git a/drivers/net/pcmcia/com20020_cs.c b/drivers/net/pcmcia/com20020_cs.c index 27bfad76fc40..980e65c14936 100644 --- a/drivers/net/pcmcia/com20020_cs.c +++ b/drivers/net/pcmcia/com20020_cs.c | |||
@@ -316,7 +316,7 @@ static int com20020_resume(struct pcmcia_device *link) | |||
316 | return 0; | 316 | return 0; |
317 | } | 317 | } |
318 | 318 | ||
319 | static struct pcmcia_device_id com20020_ids[] = { | 319 | static const struct pcmcia_device_id com20020_ids[] = { |
320 | PCMCIA_DEVICE_PROD_ID12("Contemporary Control Systems, Inc.", | 320 | PCMCIA_DEVICE_PROD_ID12("Contemporary Control Systems, Inc.", |
321 | "PCM20 Arcnet Adapter", 0x59991666, 0x95dfffaf), | 321 | "PCM20 Arcnet Adapter", 0x59991666, 0x95dfffaf), |
322 | PCMCIA_DEVICE_PROD_ID12("SoHard AG", | 322 | PCMCIA_DEVICE_PROD_ID12("SoHard AG", |
diff --git a/drivers/net/pcmcia/fmvj18x_cs.c b/drivers/net/pcmcia/fmvj18x_cs.c index 530ab5a10bd3..723815e7a997 100644 --- a/drivers/net/pcmcia/fmvj18x_cs.c +++ b/drivers/net/pcmcia/fmvj18x_cs.c | |||
@@ -667,7 +667,7 @@ static int fmvj18x_resume(struct pcmcia_device *link) | |||
667 | 667 | ||
668 | /*====================================================================*/ | 668 | /*====================================================================*/ |
669 | 669 | ||
670 | static struct pcmcia_device_id fmvj18x_ids[] = { | 670 | static const struct pcmcia_device_id fmvj18x_ids[] = { |
671 | PCMCIA_DEVICE_MANF_CARD(0x0004, 0x0004), | 671 | PCMCIA_DEVICE_MANF_CARD(0x0004, 0x0004), |
672 | PCMCIA_DEVICE_PROD_ID12("EAGLE Technology", "NE200 ETHERNET LAN MBH10302 04", 0x528c88c4, 0x74f91e59), | 672 | PCMCIA_DEVICE_PROD_ID12("EAGLE Technology", "NE200 ETHERNET LAN MBH10302 04", 0x528c88c4, 0x74f91e59), |
673 | PCMCIA_DEVICE_PROD_ID12("Eiger Labs,Inc", "EPX-10BT PC Card Ethernet 10BT", 0x53af556e, 0x877f9922), | 673 | PCMCIA_DEVICE_PROD_ID12("Eiger Labs,Inc", "EPX-10BT PC Card Ethernet 10BT", 0x53af556e, 0x877f9922), |
diff --git a/drivers/net/pcmcia/ibmtr_cs.c b/drivers/net/pcmcia/ibmtr_cs.c index 15d57f5b6f29..6006d5488fbe 100644 --- a/drivers/net/pcmcia/ibmtr_cs.c +++ b/drivers/net/pcmcia/ibmtr_cs.c | |||
@@ -340,7 +340,7 @@ static void ibmtr_hw_setup(struct net_device *dev, u_int mmiobase) | |||
340 | outb(0x40, dev->base_addr); | 340 | outb(0x40, dev->base_addr); |
341 | } | 341 | } |
342 | 342 | ||
343 | static struct pcmcia_device_id ibmtr_ids[] = { | 343 | static const struct pcmcia_device_id ibmtr_ids[] = { |
344 | PCMCIA_DEVICE_PROD_ID12("3Com", "TokenLink Velocity PC Card", 0x41240e5b, 0x82c3734e), | 344 | PCMCIA_DEVICE_PROD_ID12("3Com", "TokenLink Velocity PC Card", 0x41240e5b, 0x82c3734e), |
345 | PCMCIA_DEVICE_PROD_ID12("IBM", "TOKEN RING", 0xb569a6e5, 0xbf8eed47), | 345 | PCMCIA_DEVICE_PROD_ID12("IBM", "TOKEN RING", 0xb569a6e5, 0xbf8eed47), |
346 | PCMCIA_DEVICE_NULL, | 346 | PCMCIA_DEVICE_NULL, |
diff --git a/drivers/net/pcmcia/nmclan_cs.c b/drivers/net/pcmcia/nmclan_cs.c index 76683d97d83b..9d70b6595220 100644 --- a/drivers/net/pcmcia/nmclan_cs.c +++ b/drivers/net/pcmcia/nmclan_cs.c | |||
@@ -1494,7 +1494,7 @@ static void set_multicast_list(struct net_device *dev) | |||
1494 | 1494 | ||
1495 | } /* set_multicast_list */ | 1495 | } /* set_multicast_list */ |
1496 | 1496 | ||
1497 | static struct pcmcia_device_id nmclan_ids[] = { | 1497 | static const struct pcmcia_device_id nmclan_ids[] = { |
1498 | PCMCIA_DEVICE_PROD_ID12("New Media Corporation", "Ethernet", 0x085a850b, 0x00b2e941), | 1498 | PCMCIA_DEVICE_PROD_ID12("New Media Corporation", "Ethernet", 0x085a850b, 0x00b2e941), |
1499 | PCMCIA_DEVICE_PROD_ID12("Portable Add-ons", "Ethernet+", 0xebf1d60, 0xad673aaf), | 1499 | PCMCIA_DEVICE_PROD_ID12("Portable Add-ons", "Ethernet+", 0xebf1d60, 0xad673aaf), |
1500 | PCMCIA_DEVICE_NULL, | 1500 | PCMCIA_DEVICE_NULL, |
diff --git a/drivers/net/pcmcia/pcnet_cs.c b/drivers/net/pcmcia/pcnet_cs.c index e953793a33ff..b4fd7c3ed077 100644 --- a/drivers/net/pcmcia/pcnet_cs.c +++ b/drivers/net/pcmcia/pcnet_cs.c | |||
@@ -1463,7 +1463,7 @@ failed: | |||
1463 | 1463 | ||
1464 | /*====================================================================*/ | 1464 | /*====================================================================*/ |
1465 | 1465 | ||
1466 | static struct pcmcia_device_id pcnet_ids[] = { | 1466 | static const struct pcmcia_device_id pcnet_ids[] = { |
1467 | PCMCIA_PFC_DEVICE_MANF_CARD(0, 0x0057, 0x0021), | 1467 | PCMCIA_PFC_DEVICE_MANF_CARD(0, 0x0057, 0x0021), |
1468 | PCMCIA_PFC_DEVICE_MANF_CARD(0, 0x0104, 0x000a), | 1468 | PCMCIA_PFC_DEVICE_MANF_CARD(0, 0x0104, 0x000a), |
1469 | PCMCIA_PFC_DEVICE_MANF_CARD(0, 0x0105, 0xea15), | 1469 | PCMCIA_PFC_DEVICE_MANF_CARD(0, 0x0105, 0xea15), |
diff --git a/drivers/net/pcmcia/smc91c92_cs.c b/drivers/net/pcmcia/smc91c92_cs.c index 288e4f1317ee..1cd9394c3359 100644 --- a/drivers/net/pcmcia/smc91c92_cs.c +++ b/drivers/net/pcmcia/smc91c92_cs.c | |||
@@ -2014,7 +2014,7 @@ static int smc_ioctl (struct net_device *dev, struct ifreq *rq, int cmd) | |||
2014 | return rc; | 2014 | return rc; |
2015 | } | 2015 | } |
2016 | 2016 | ||
2017 | static struct pcmcia_device_id smc91c92_ids[] = { | 2017 | static const struct pcmcia_device_id smc91c92_ids[] = { |
2018 | PCMCIA_PFC_DEVICE_MANF_CARD(0, 0x0109, 0x0501), | 2018 | PCMCIA_PFC_DEVICE_MANF_CARD(0, 0x0109, 0x0501), |
2019 | PCMCIA_PFC_DEVICE_MANF_CARD(0, 0x0140, 0x000a), | 2019 | PCMCIA_PFC_DEVICE_MANF_CARD(0, 0x0140, 0x000a), |
2020 | PCMCIA_PFC_DEVICE_PROD_ID123(0, "MEGAHERTZ", "CC/XJEM3288", "DATA/FAX/CELL ETHERNET MODEM", 0xf510db04, 0x04cd2988, 0x46a52d63), | 2020 | PCMCIA_PFC_DEVICE_PROD_ID123(0, "MEGAHERTZ", "CC/XJEM3288", "DATA/FAX/CELL ETHERNET MODEM", 0xf510db04, 0x04cd2988, 0x46a52d63), |
diff --git a/drivers/net/pcmcia/xirc2ps_cs.c b/drivers/net/pcmcia/xirc2ps_cs.c index a46b7fd6c0f5..e33b190d716f 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), |
diff --git a/drivers/net/wireless/airo_cs.c b/drivers/net/wireless/airo_cs.c index df2484d45474..c983c10e0f6a 100644 --- a/drivers/net/wireless/airo_cs.c +++ b/drivers/net/wireless/airo_cs.c | |||
@@ -164,7 +164,7 @@ static int airo_resume(struct pcmcia_device *link) | |||
164 | return 0; | 164 | return 0; |
165 | } | 165 | } |
166 | 166 | ||
167 | static struct pcmcia_device_id airo_ids[] = { | 167 | static const struct pcmcia_device_id airo_ids[] = { |
168 | PCMCIA_DEVICE_MANF_CARD(0x015f, 0x000a), | 168 | PCMCIA_DEVICE_MANF_CARD(0x015f, 0x000a), |
169 | PCMCIA_DEVICE_MANF_CARD(0x015f, 0x0005), | 169 | PCMCIA_DEVICE_MANF_CARD(0x015f, 0x0005), |
170 | PCMCIA_DEVICE_MANF_CARD(0x015f, 0x0007), | 170 | PCMCIA_DEVICE_MANF_CARD(0x015f, 0x0007), |
diff --git a/drivers/net/wireless/atmel_cs.c b/drivers/net/wireless/atmel_cs.c index 05263516c113..ec295c4f677d 100644 --- a/drivers/net/wireless/atmel_cs.c +++ b/drivers/net/wireless/atmel_cs.c | |||
@@ -122,7 +122,7 @@ static int atmel_config(struct pcmcia_device *link) | |||
122 | { | 122 | { |
123 | local_info_t *dev; | 123 | local_info_t *dev; |
124 | int ret; | 124 | int ret; |
125 | struct pcmcia_device_id *did; | 125 | const struct pcmcia_device_id *did; |
126 | 126 | ||
127 | dev = link->priv; | 127 | dev = link->priv; |
128 | did = dev_get_drvdata(&link->dev); | 128 | did = dev_get_drvdata(&link->dev); |
@@ -211,7 +211,7 @@ static int atmel_resume(struct pcmcia_device *link) | |||
211 | .prod_id_hash = { (vh1), (vh2), 0, 0 }, \ | 211 | .prod_id_hash = { (vh1), (vh2), 0, 0 }, \ |
212 | .driver_info = (kernel_ulong_t)(info), } | 212 | .driver_info = (kernel_ulong_t)(info), } |
213 | 213 | ||
214 | static struct pcmcia_device_id atmel_ids[] = { | 214 | static const struct pcmcia_device_id atmel_ids[] = { |
215 | PCMCIA_DEVICE_MANF_CARD_INFO(0x0101, 0x0620, ATMEL_FW_TYPE_502_3COM), | 215 | PCMCIA_DEVICE_MANF_CARD_INFO(0x0101, 0x0620, ATMEL_FW_TYPE_502_3COM), |
216 | PCMCIA_DEVICE_MANF_CARD_INFO(0x0101, 0x0696, ATMEL_FW_TYPE_502_3COM), | 216 | PCMCIA_DEVICE_MANF_CARD_INFO(0x0101, 0x0696, ATMEL_FW_TYPE_502_3COM), |
217 | PCMCIA_DEVICE_MANF_CARD_INFO(0x01bf, 0x3302, ATMEL_FW_TYPE_502E), | 217 | PCMCIA_DEVICE_MANF_CARD_INFO(0x01bf, 0x3302, ATMEL_FW_TYPE_502E), |
diff --git a/drivers/net/wireless/b43/pcmcia.c b/drivers/net/wireless/b43/pcmcia.c index 7dcba5fafdc7..2c8461dcf1b0 100644 --- a/drivers/net/wireless/b43/pcmcia.c +++ b/drivers/net/wireless/b43/pcmcia.c | |||
@@ -32,7 +32,7 @@ | |||
32 | #include <pcmcia/cisreg.h> | 32 | #include <pcmcia/cisreg.h> |
33 | 33 | ||
34 | 34 | ||
35 | static /*const */ struct pcmcia_device_id b43_pcmcia_tbl[] = { | 35 | static const struct pcmcia_device_id b43_pcmcia_tbl[] = { |
36 | PCMCIA_DEVICE_MANF_CARD(0x2D0, 0x448), | 36 | PCMCIA_DEVICE_MANF_CARD(0x2D0, 0x448), |
37 | PCMCIA_DEVICE_MANF_CARD(0x2D0, 0x476), | 37 | PCMCIA_DEVICE_MANF_CARD(0x2D0, 0x476), |
38 | PCMCIA_DEVICE_NULL, | 38 | PCMCIA_DEVICE_NULL, |
diff --git a/drivers/net/wireless/hostap/hostap_cs.c b/drivers/net/wireless/hostap/hostap_cs.c index 2176edede39b..c052a0d5cbdd 100644 --- a/drivers/net/wireless/hostap/hostap_cs.c +++ b/drivers/net/wireless/hostap/hostap_cs.c | |||
@@ -620,7 +620,7 @@ static int hostap_cs_resume(struct pcmcia_device *link) | |||
620 | return 0; | 620 | return 0; |
621 | } | 621 | } |
622 | 622 | ||
623 | static struct pcmcia_device_id hostap_cs_ids[] = { | 623 | static const struct pcmcia_device_id hostap_cs_ids[] = { |
624 | PCMCIA_DEVICE_MANF_CARD(0x000b, 0x7100), | 624 | PCMCIA_DEVICE_MANF_CARD(0x000b, 0x7100), |
625 | PCMCIA_DEVICE_MANF_CARD(0x000b, 0x7300), | 625 | PCMCIA_DEVICE_MANF_CARD(0x000b, 0x7300), |
626 | PCMCIA_DEVICE_MANF_CARD(0x0101, 0x0777), | 626 | PCMCIA_DEVICE_MANF_CARD(0x0101, 0x0777), |
diff --git a/drivers/net/wireless/libertas/if_cs.c b/drivers/net/wireless/libertas/if_cs.c index 63ed5798365c..e26935179861 100644 --- a/drivers/net/wireless/libertas/if_cs.c +++ b/drivers/net/wireless/libertas/if_cs.c | |||
@@ -983,7 +983,7 @@ static void if_cs_detach(struct pcmcia_device *p_dev) | |||
983 | /* Module initialization */ | 983 | /* Module initialization */ |
984 | /********************************************************************/ | 984 | /********************************************************************/ |
985 | 985 | ||
986 | static struct pcmcia_device_id if_cs_ids[] = { | 986 | static const struct pcmcia_device_id if_cs_ids[] = { |
987 | PCMCIA_DEVICE_MANF_CARD(CF8305_MANFID, CF8305_CARDID), | 987 | PCMCIA_DEVICE_MANF_CARD(CF8305_MANFID, CF8305_CARDID), |
988 | PCMCIA_DEVICE_MANF_CARD(CF8381_MANFID, CF8381_CARDID), | 988 | PCMCIA_DEVICE_MANF_CARD(CF8381_MANFID, CF8381_CARDID), |
989 | PCMCIA_DEVICE_MANF_CARD(CF8385_MANFID, CF8385_CARDID), | 989 | PCMCIA_DEVICE_MANF_CARD(CF8385_MANFID, CF8385_CARDID), |
diff --git a/drivers/net/wireless/orinoco/orinoco_cs.c b/drivers/net/wireless/orinoco/orinoco_cs.c index 32954c4b243a..88e3c0ebcaad 100644 --- a/drivers/net/wireless/orinoco/orinoco_cs.c +++ b/drivers/net/wireless/orinoco/orinoco_cs.c | |||
@@ -237,7 +237,7 @@ static int orinoco_cs_resume(struct pcmcia_device *link) | |||
237 | /* Module initialization */ | 237 | /* Module initialization */ |
238 | /********************************************************************/ | 238 | /********************************************************************/ |
239 | 239 | ||
240 | static struct pcmcia_device_id orinoco_cs_ids[] = { | 240 | static const struct pcmcia_device_id orinoco_cs_ids[] = { |
241 | PCMCIA_DEVICE_MANF_CARD(0x0101, 0x0777), /* 3Com AirConnect PCI 777A */ | 241 | PCMCIA_DEVICE_MANF_CARD(0x0101, 0x0777), /* 3Com AirConnect PCI 777A */ |
242 | PCMCIA_DEVICE_MANF_CARD(0x0156, 0x0002), /* Lucent Orinoco and old Intersil */ | 242 | PCMCIA_DEVICE_MANF_CARD(0x0156, 0x0002), /* Lucent Orinoco and old Intersil */ |
243 | PCMCIA_DEVICE_MANF_CARD(0x016b, 0x0001), /* Ericsson WLAN Card C11 */ | 243 | PCMCIA_DEVICE_MANF_CARD(0x016b, 0x0001), /* Ericsson WLAN Card C11 */ |
diff --git a/drivers/net/wireless/orinoco/spectrum_cs.c b/drivers/net/wireless/orinoco/spectrum_cs.c index db34c282e59b..81f3673d31d4 100644 --- a/drivers/net/wireless/orinoco/spectrum_cs.c +++ b/drivers/net/wireless/orinoco/spectrum_cs.c | |||
@@ -301,7 +301,7 @@ spectrum_cs_resume(struct pcmcia_device *link) | |||
301 | /* Module initialization */ | 301 | /* Module initialization */ |
302 | /********************************************************************/ | 302 | /********************************************************************/ |
303 | 303 | ||
304 | static struct pcmcia_device_id spectrum_cs_ids[] = { | 304 | static const struct pcmcia_device_id spectrum_cs_ids[] = { |
305 | PCMCIA_DEVICE_MANF_CARD(0x026c, 0x0001), /* Symbol Spectrum24 LA4137 */ | 305 | PCMCIA_DEVICE_MANF_CARD(0x026c, 0x0001), /* Symbol Spectrum24 LA4137 */ |
306 | PCMCIA_DEVICE_MANF_CARD(0x0104, 0x0001), /* Socket Communications CF */ | 306 | PCMCIA_DEVICE_MANF_CARD(0x0104, 0x0001), /* Socket Communications CF */ |
307 | PCMCIA_DEVICE_PROD_ID12("Intel", "PRO/Wireless LAN PC Card", 0x816cc815, 0x6fbf459a), /* 2011B, not 2011 */ | 307 | PCMCIA_DEVICE_PROD_ID12("Intel", "PRO/Wireless LAN PC Card", 0x816cc815, 0x6fbf459a), /* 2011B, not 2011 */ |
diff --git a/drivers/net/wireless/ray_cs.c b/drivers/net/wireless/ray_cs.c index 0764d1a30d13..2a06ebcd67c5 100644 --- a/drivers/net/wireless/ray_cs.c +++ b/drivers/net/wireless/ray_cs.c | |||
@@ -2781,7 +2781,7 @@ static const struct file_operations int_proc_fops = { | |||
2781 | }; | 2781 | }; |
2782 | #endif | 2782 | #endif |
2783 | 2783 | ||
2784 | static struct pcmcia_device_id ray_ids[] = { | 2784 | static const struct pcmcia_device_id ray_ids[] = { |
2785 | PCMCIA_DEVICE_MANF_CARD(0x01a6, 0x0000), | 2785 | PCMCIA_DEVICE_MANF_CARD(0x01a6, 0x0000), |
2786 | PCMCIA_DEVICE_NULL, | 2786 | PCMCIA_DEVICE_NULL, |
2787 | }; | 2787 | }; |
diff --git a/drivers/net/wireless/wl3501_cs.c b/drivers/net/wireless/wl3501_cs.c index fc08f36fe1f5..6bc7c92fbff7 100644 --- a/drivers/net/wireless/wl3501_cs.c +++ b/drivers/net/wireless/wl3501_cs.c | |||
@@ -2000,7 +2000,7 @@ static int wl3501_resume(struct pcmcia_device *link) | |||
2000 | } | 2000 | } |
2001 | 2001 | ||
2002 | 2002 | ||
2003 | static struct pcmcia_device_id wl3501_ids[] = { | 2003 | static const struct pcmcia_device_id wl3501_ids[] = { |
2004 | PCMCIA_DEVICE_MANF_CARD(0xd601, 0x0001), | 2004 | PCMCIA_DEVICE_MANF_CARD(0xd601, 0x0001), |
2005 | PCMCIA_DEVICE_NULL | 2005 | PCMCIA_DEVICE_NULL |
2006 | }; | 2006 | }; |
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), |
diff --git a/drivers/pcmcia/ds.c b/drivers/pcmcia/ds.c index 100c4412457d..749c2a16012c 100644 --- a/drivers/pcmcia/ds.c +++ b/drivers/pcmcia/ds.c | |||
@@ -45,7 +45,7 @@ MODULE_LICENSE("GPL"); | |||
45 | 45 | ||
46 | static void pcmcia_check_driver(struct pcmcia_driver *p_drv) | 46 | static void pcmcia_check_driver(struct pcmcia_driver *p_drv) |
47 | { | 47 | { |
48 | struct pcmcia_device_id *did = p_drv->id_table; | 48 | const struct pcmcia_device_id *did = p_drv->id_table; |
49 | unsigned int i; | 49 | unsigned int i; |
50 | u32 hash; | 50 | u32 hash; |
51 | 51 | ||
@@ -784,7 +784,7 @@ static inline int pcmcia_load_firmware(struct pcmcia_device *dev, char * filenam | |||
784 | 784 | ||
785 | 785 | ||
786 | static inline int pcmcia_devmatch(struct pcmcia_device *dev, | 786 | static inline int pcmcia_devmatch(struct pcmcia_device *dev, |
787 | struct pcmcia_device_id *did) | 787 | const struct pcmcia_device_id *did) |
788 | { | 788 | { |
789 | if (did->match_flags & PCMCIA_DEV_ID_MATCH_MANF_ID) { | 789 | if (did->match_flags & PCMCIA_DEV_ID_MATCH_MANF_ID) { |
790 | if ((!dev->has_manf_id) || (dev->manf_id != did->manf_id)) | 790 | if ((!dev->has_manf_id) || (dev->manf_id != did->manf_id)) |
@@ -890,7 +890,7 @@ static int pcmcia_bus_match(struct device *dev, struct device_driver *drv) | |||
890 | { | 890 | { |
891 | struct pcmcia_device *p_dev = to_pcmcia_dev(dev); | 891 | struct pcmcia_device *p_dev = to_pcmcia_dev(dev); |
892 | struct pcmcia_driver *p_drv = to_pcmcia_drv(drv); | 892 | struct pcmcia_driver *p_drv = to_pcmcia_drv(drv); |
893 | struct pcmcia_device_id *did = p_drv->id_table; | 893 | const struct pcmcia_device_id *did = p_drv->id_table; |
894 | struct pcmcia_dynid *dynid; | 894 | struct pcmcia_dynid *dynid; |
895 | 895 | ||
896 | /* match dynamic devices first */ | 896 | /* match dynamic devices first */ |
diff --git a/drivers/pcmcia/sa1100_generic.c b/drivers/pcmcia/sa1100_generic.c index fb9740d3e9a7..2eea664bc079 100644 --- a/drivers/pcmcia/sa1100_generic.c +++ b/drivers/pcmcia/sa1100_generic.c | |||
@@ -43,7 +43,7 @@ | |||
43 | 43 | ||
44 | int __init pcmcia_collie_init(struct device *dev); | 44 | int __init pcmcia_collie_init(struct device *dev); |
45 | 45 | ||
46 | static int (*sa11x0_pcmcia_hw_init[])(struct device *dev) = { | 46 | static int (*sa11x0_pcmcia_hw_init[])(struct device *dev) __devinitdata = { |
47 | #ifdef CONFIG_SA1100_ASSABET | 47 | #ifdef CONFIG_SA1100_ASSABET |
48 | pcmcia_assabet_init, | 48 | pcmcia_assabet_init, |
49 | #endif | 49 | #endif |
diff --git a/drivers/scsi/pcmcia/aha152x_stub.c b/drivers/scsi/pcmcia/aha152x_stub.c index e77dd02eccdd..7d1609fa233c 100644 --- a/drivers/scsi/pcmcia/aha152x_stub.c +++ b/drivers/scsi/pcmcia/aha152x_stub.c | |||
@@ -202,7 +202,7 @@ static int aha152x_resume(struct pcmcia_device *link) | |||
202 | return 0; | 202 | return 0; |
203 | } | 203 | } |
204 | 204 | ||
205 | static struct pcmcia_device_id aha152x_ids[] = { | 205 | static const struct pcmcia_device_id aha152x_ids[] = { |
206 | PCMCIA_DEVICE_PROD_ID123("New Media", "SCSI", "Bus Toaster", 0xcdf7e4cc, 0x35f26476, 0xa8851d6e), | 206 | PCMCIA_DEVICE_PROD_ID123("New Media", "SCSI", "Bus Toaster", 0xcdf7e4cc, 0x35f26476, 0xa8851d6e), |
207 | PCMCIA_DEVICE_PROD_ID123("NOTEWORTHY", "SCSI", "Bus Toaster", 0xad89c6e8, 0x35f26476, 0xa8851d6e), | 207 | PCMCIA_DEVICE_PROD_ID123("NOTEWORTHY", "SCSI", "Bus Toaster", 0xad89c6e8, 0x35f26476, 0xa8851d6e), |
208 | PCMCIA_DEVICE_PROD_ID12("Adaptec, Inc.", "APA-1460 SCSI Host Adapter", 0x24ba9738, 0x3a3c3d20), | 208 | PCMCIA_DEVICE_PROD_ID12("Adaptec, Inc.", "APA-1460 SCSI Host Adapter", 0x24ba9738, 0x3a3c3d20), |
diff --git a/drivers/scsi/pcmcia/fdomain_stub.c b/drivers/scsi/pcmcia/fdomain_stub.c index cd69c2670f81..714b248f5d5e 100644 --- a/drivers/scsi/pcmcia/fdomain_stub.c +++ b/drivers/scsi/pcmcia/fdomain_stub.c | |||
@@ -178,7 +178,7 @@ static int fdomain_resume(struct pcmcia_device *link) | |||
178 | return 0; | 178 | return 0; |
179 | } | 179 | } |
180 | 180 | ||
181 | static struct pcmcia_device_id fdomain_ids[] = { | 181 | static const struct pcmcia_device_id fdomain_ids[] = { |
182 | PCMCIA_DEVICE_PROD_ID12("IBM Corp.", "SCSI PCMCIA Card", 0xe3736c88, 0x859cad20), | 182 | PCMCIA_DEVICE_PROD_ID12("IBM Corp.", "SCSI PCMCIA Card", 0xe3736c88, 0x859cad20), |
183 | PCMCIA_DEVICE_PROD_ID1("SCSI PCMCIA Adapter Card", 0x8dacb57e), | 183 | PCMCIA_DEVICE_PROD_ID1("SCSI PCMCIA Adapter Card", 0x8dacb57e), |
184 | PCMCIA_DEVICE_PROD_ID12(" SIMPLE TECHNOLOGY Corporation", "SCSI PCMCIA Credit Card Controller", 0x182bdafe, 0xc80d106f), | 184 | PCMCIA_DEVICE_PROD_ID12(" SIMPLE TECHNOLOGY Corporation", "SCSI PCMCIA Credit Card Controller", 0x182bdafe, 0xc80d106f), |
diff --git a/drivers/scsi/pcmcia/nsp_cs.c b/drivers/scsi/pcmcia/nsp_cs.c index 54bdf6d85c6d..ca86721a71b9 100644 --- a/drivers/scsi/pcmcia/nsp_cs.c +++ b/drivers/scsi/pcmcia/nsp_cs.c | |||
@@ -1752,7 +1752,7 @@ static int nsp_cs_resume(struct pcmcia_device *link) | |||
1752 | /*======================================================================* | 1752 | /*======================================================================* |
1753 | * module entry point | 1753 | * module entry point |
1754 | *====================================================================*/ | 1754 | *====================================================================*/ |
1755 | static struct pcmcia_device_id nsp_cs_ids[] = { | 1755 | static const struct pcmcia_device_id nsp_cs_ids[] = { |
1756 | PCMCIA_DEVICE_PROD_ID123("IO DATA", "CBSC16 ", "1", 0x547e66dc, 0x0d63a3fd, 0x51de003a), | 1756 | PCMCIA_DEVICE_PROD_ID123("IO DATA", "CBSC16 ", "1", 0x547e66dc, 0x0d63a3fd, 0x51de003a), |
1757 | PCMCIA_DEVICE_PROD_ID123("KME ", "SCSI-CARD-001", "1", 0x534c02bc, 0x52008408, 0x51de003a), | 1757 | PCMCIA_DEVICE_PROD_ID123("KME ", "SCSI-CARD-001", "1", 0x534c02bc, 0x52008408, 0x51de003a), |
1758 | PCMCIA_DEVICE_PROD_ID123("KME ", "SCSI-CARD-002", "1", 0x534c02bc, 0xcb09d5b2, 0x51de003a), | 1758 | PCMCIA_DEVICE_PROD_ID123("KME ", "SCSI-CARD-002", "1", 0x534c02bc, 0xcb09d5b2, 0x51de003a), |
diff --git a/drivers/scsi/pcmcia/qlogic_stub.c b/drivers/scsi/pcmcia/qlogic_stub.c index 9c96ca889ec9..bcaf89fe0c9e 100644 --- a/drivers/scsi/pcmcia/qlogic_stub.c +++ b/drivers/scsi/pcmcia/qlogic_stub.c | |||
@@ -270,7 +270,7 @@ static int qlogic_resume(struct pcmcia_device *link) | |||
270 | return 0; | 270 | return 0; |
271 | } | 271 | } |
272 | 272 | ||
273 | static struct pcmcia_device_id qlogic_ids[] = { | 273 | static const struct pcmcia_device_id qlogic_ids[] = { |
274 | PCMCIA_DEVICE_PROD_ID12("EIger Labs", "PCMCIA-to-SCSI Adapter", 0x88395fa7, 0x33b7a5e6), | 274 | PCMCIA_DEVICE_PROD_ID12("EIger Labs", "PCMCIA-to-SCSI Adapter", 0x88395fa7, 0x33b7a5e6), |
275 | PCMCIA_DEVICE_PROD_ID12("EPSON", "SCSI-2 PC Card SC200", 0xd361772f, 0x299d1751), | 275 | PCMCIA_DEVICE_PROD_ID12("EPSON", "SCSI-2 PC Card SC200", 0xd361772f, 0x299d1751), |
276 | PCMCIA_DEVICE_PROD_ID12("MACNICA", "MIRACLE SCSI-II mPS110", 0x20841b68, 0xab3c3b6d), | 276 | PCMCIA_DEVICE_PROD_ID12("MACNICA", "MIRACLE SCSI-II mPS110", 0x20841b68, 0xab3c3b6d), |
diff --git a/drivers/scsi/pcmcia/sym53c500_cs.c b/drivers/scsi/pcmcia/sym53c500_cs.c index 8552296edaa1..f5b52731abd9 100644 --- a/drivers/scsi/pcmcia/sym53c500_cs.c +++ b/drivers/scsi/pcmcia/sym53c500_cs.c | |||
@@ -865,7 +865,7 @@ MODULE_AUTHOR("Bob Tracy <rct@frus.com>"); | |||
865 | MODULE_DESCRIPTION("SYM53C500 PCMCIA SCSI driver"); | 865 | MODULE_DESCRIPTION("SYM53C500 PCMCIA SCSI driver"); |
866 | MODULE_LICENSE("GPL"); | 866 | MODULE_LICENSE("GPL"); |
867 | 867 | ||
868 | static struct pcmcia_device_id sym53c500_ids[] = { | 868 | static const struct pcmcia_device_id sym53c500_ids[] = { |
869 | PCMCIA_DEVICE_PROD_ID12("BASICS by New Media Corporation", "SCSI Sym53C500", 0x23c78a9d, 0x0099e7f7), | 869 | PCMCIA_DEVICE_PROD_ID12("BASICS by New Media Corporation", "SCSI Sym53C500", 0x23c78a9d, 0x0099e7f7), |
870 | PCMCIA_DEVICE_PROD_ID12("New Media Corporation", "SCSI Bus Toaster Sym53C500", 0x085a850b, 0x45432eb8), | 870 | PCMCIA_DEVICE_PROD_ID12("New Media Corporation", "SCSI Bus Toaster Sym53C500", 0x085a850b, 0x45432eb8), |
871 | PCMCIA_DEVICE_PROD_ID2("SCSI9000", 0x21648f44), | 871 | PCMCIA_DEVICE_PROD_ID2("SCSI9000", 0x21648f44), |
diff --git a/drivers/staging/comedi/drivers/cb_das16_cs.c b/drivers/staging/comedi/drivers/cb_das16_cs.c index bb93685d8b93..8a1b8a7fa15f 100644 --- a/drivers/staging/comedi/drivers/cb_das16_cs.c +++ b/drivers/staging/comedi/drivers/cb_das16_cs.c | |||
@@ -772,7 +772,7 @@ static int das16cs_pcmcia_resume(struct pcmcia_device *link) | |||
772 | 772 | ||
773 | /*====================================================================*/ | 773 | /*====================================================================*/ |
774 | 774 | ||
775 | static struct pcmcia_device_id das16cs_id_table[] = { | 775 | static const struct pcmcia_device_id das16cs_id_table[] = { |
776 | PCMCIA_DEVICE_MANF_CARD(0x01c5, 0x0039), | 776 | PCMCIA_DEVICE_MANF_CARD(0x01c5, 0x0039), |
777 | PCMCIA_DEVICE_MANF_CARD(0x01c5, 0x4009), | 777 | PCMCIA_DEVICE_MANF_CARD(0x01c5, 0x4009), |
778 | PCMCIA_DEVICE_NULL | 778 | PCMCIA_DEVICE_NULL |
diff --git a/drivers/staging/comedi/drivers/das08_cs.c b/drivers/staging/comedi/drivers/das08_cs.c index 0b32a2df7768..6d91d3028178 100644 --- a/drivers/staging/comedi/drivers/das08_cs.c +++ b/drivers/staging/comedi/drivers/das08_cs.c | |||
@@ -219,7 +219,7 @@ static int das08_pcmcia_resume(struct pcmcia_device *link) | |||
219 | 219 | ||
220 | /*====================================================================*/ | 220 | /*====================================================================*/ |
221 | 221 | ||
222 | static struct pcmcia_device_id das08_cs_id_table[] = { | 222 | static const struct pcmcia_device_id das08_cs_id_table[] = { |
223 | PCMCIA_DEVICE_MANF_CARD(0x01c5, 0x4001), | 223 | PCMCIA_DEVICE_MANF_CARD(0x01c5, 0x4001), |
224 | PCMCIA_DEVICE_NULL | 224 | PCMCIA_DEVICE_NULL |
225 | }; | 225 | }; |
diff --git a/drivers/staging/comedi/drivers/ni_daq_700.c b/drivers/staging/comedi/drivers/ni_daq_700.c index 6b7372eed90d..2672629e9ff9 100644 --- a/drivers/staging/comedi/drivers/ni_daq_700.c +++ b/drivers/staging/comedi/drivers/ni_daq_700.c | |||
@@ -552,7 +552,7 @@ static int dio700_cs_resume(struct pcmcia_device *link) | |||
552 | 552 | ||
553 | /*====================================================================*/ | 553 | /*====================================================================*/ |
554 | 554 | ||
555 | static struct pcmcia_device_id dio700_cs_ids[] = { | 555 | static const struct pcmcia_device_id dio700_cs_ids[] = { |
556 | /* N.B. These IDs should match those in dio700_boards */ | 556 | /* N.B. These IDs should match those in dio700_boards */ |
557 | PCMCIA_DEVICE_MANF_CARD(0x010b, 0x4743), /* daqcard-700 */ | 557 | PCMCIA_DEVICE_MANF_CARD(0x010b, 0x4743), /* daqcard-700 */ |
558 | PCMCIA_DEVICE_NULL | 558 | PCMCIA_DEVICE_NULL |
diff --git a/drivers/staging/comedi/drivers/ni_daq_dio24.c b/drivers/staging/comedi/drivers/ni_daq_dio24.c index c9c28584db67..49b824c7bd2e 100644 --- a/drivers/staging/comedi/drivers/ni_daq_dio24.c +++ b/drivers/staging/comedi/drivers/ni_daq_dio24.c | |||
@@ -304,7 +304,7 @@ static int dio24_cs_resume(struct pcmcia_device *link) | |||
304 | 304 | ||
305 | /*====================================================================*/ | 305 | /*====================================================================*/ |
306 | 306 | ||
307 | static struct pcmcia_device_id dio24_cs_ids[] = { | 307 | static const struct pcmcia_device_id dio24_cs_ids[] = { |
308 | /* N.B. These IDs should match those in dio24_boards */ | 308 | /* N.B. These IDs should match those in dio24_boards */ |
309 | PCMCIA_DEVICE_MANF_CARD(0x010b, 0x475c), /* daqcard-dio24 */ | 309 | PCMCIA_DEVICE_MANF_CARD(0x010b, 0x475c), /* daqcard-dio24 */ |
310 | PCMCIA_DEVICE_NULL | 310 | PCMCIA_DEVICE_NULL |
diff --git a/drivers/staging/comedi/drivers/ni_labpc_cs.c b/drivers/staging/comedi/drivers/ni_labpc_cs.c index 6facbc8bf776..832a5178b638 100644 --- a/drivers/staging/comedi/drivers/ni_labpc_cs.c +++ b/drivers/staging/comedi/drivers/ni_labpc_cs.c | |||
@@ -267,7 +267,7 @@ static int labpc_cs_resume(struct pcmcia_device *link) | |||
267 | return 0; | 267 | return 0; |
268 | } /* labpc_cs_resume */ | 268 | } /* labpc_cs_resume */ |
269 | 269 | ||
270 | static struct pcmcia_device_id labpc_cs_ids[] = { | 270 | static const struct pcmcia_device_id labpc_cs_ids[] = { |
271 | /* N.B. These IDs should match those in labpc_cs_boards (ni_labpc.c) */ | 271 | /* N.B. These IDs should match those in labpc_cs_boards (ni_labpc.c) */ |
272 | PCMCIA_DEVICE_MANF_CARD(0x010b, 0x0103), /* daqcard-1200 */ | 272 | PCMCIA_DEVICE_MANF_CARD(0x010b, 0x0103), /* daqcard-1200 */ |
273 | PCMCIA_DEVICE_NULL | 273 | PCMCIA_DEVICE_NULL |
diff --git a/drivers/staging/comedi/drivers/ni_mio_cs.c b/drivers/staging/comedi/drivers/ni_mio_cs.c index 49563273f605..53ec24bb6dce 100644 --- a/drivers/staging/comedi/drivers/ni_mio_cs.c +++ b/drivers/staging/comedi/drivers/ni_mio_cs.c | |||
@@ -416,7 +416,7 @@ static int ni_getboardtype(struct comedi_device *dev, | |||
416 | 416 | ||
417 | #ifdef MODULE | 417 | #ifdef MODULE |
418 | 418 | ||
419 | static struct pcmcia_device_id ni_mio_cs_ids[] = { | 419 | static const struct pcmcia_device_id ni_mio_cs_ids[] = { |
420 | PCMCIA_DEVICE_MANF_CARD(0x010b, 0x010d), /* DAQCard-ai-16xe-50 */ | 420 | PCMCIA_DEVICE_MANF_CARD(0x010b, 0x010d), /* DAQCard-ai-16xe-50 */ |
421 | PCMCIA_DEVICE_MANF_CARD(0x010b, 0x010c), /* DAQCard-ai-16e-4 */ | 421 | PCMCIA_DEVICE_MANF_CARD(0x010b, 0x010c), /* DAQCard-ai-16e-4 */ |
422 | PCMCIA_DEVICE_MANF_CARD(0x010b, 0x02c4), /* DAQCard-6062E */ | 422 | PCMCIA_DEVICE_MANF_CARD(0x010b, 0x02c4), /* DAQCard-6062E */ |
diff --git a/drivers/staging/comedi/drivers/quatech_daqp_cs.c b/drivers/staging/comedi/drivers/quatech_daqp_cs.c index 82942e5728a5..e0bb73445dd8 100644 --- a/drivers/staging/comedi/drivers/quatech_daqp_cs.c +++ b/drivers/staging/comedi/drivers/quatech_daqp_cs.c | |||
@@ -1087,7 +1087,7 @@ static int daqp_cs_resume(struct pcmcia_device *link) | |||
1087 | 1087 | ||
1088 | #ifdef MODULE | 1088 | #ifdef MODULE |
1089 | 1089 | ||
1090 | static struct pcmcia_device_id daqp_cs_id_table[] = { | 1090 | static const struct pcmcia_device_id daqp_cs_id_table[] = { |
1091 | PCMCIA_DEVICE_MANF_CARD(0x0137, 0x0027), | 1091 | PCMCIA_DEVICE_MANF_CARD(0x0137, 0x0027), |
1092 | PCMCIA_DEVICE_NULL | 1092 | PCMCIA_DEVICE_NULL |
1093 | }; | 1093 | }; |
diff --git a/drivers/staging/ft1000/ft1000-pcmcia/ft1000_cs.c b/drivers/staging/ft1000/ft1000-pcmcia/ft1000_cs.c index 10af47700efb..68ea035635f4 100644 --- a/drivers/staging/ft1000/ft1000-pcmcia/ft1000_cs.c +++ b/drivers/staging/ft1000/ft1000-pcmcia/ft1000_cs.c | |||
@@ -284,7 +284,7 @@ static int ft1000_resume(struct pcmcia_device *link) | |||
284 | 284 | ||
285 | /*====================================================================*/ | 285 | /*====================================================================*/ |
286 | 286 | ||
287 | static struct pcmcia_device_id ft1000_ids[] = { | 287 | static const struct pcmcia_device_id ft1000_ids[] = { |
288 | PCMCIA_DEVICE_MANF_CARD(0x02cc, 0x0100), | 288 | PCMCIA_DEVICE_MANF_CARD(0x02cc, 0x0100), |
289 | PCMCIA_DEVICE_MANF_CARD(0x02cc, 0x1000), | 289 | PCMCIA_DEVICE_MANF_CARD(0x02cc, 0x1000), |
290 | PCMCIA_DEVICE_MANF_CARD(0x02cc, 0x1300), | 290 | PCMCIA_DEVICE_MANF_CARD(0x02cc, 0x1300), |
diff --git a/drivers/staging/wlags49_h2/wl_cs.c b/drivers/staging/wlags49_h2/wl_cs.c index 6555891e149c..a3a727c3b40f 100644 --- a/drivers/staging/wlags49_h2/wl_cs.c +++ b/drivers/staging/wlags49_h2/wl_cs.c | |||
@@ -378,7 +378,7 @@ int wl_adapter_close(struct net_device *dev) | |||
378 | } /* wl_adapter_close */ | 378 | } /* wl_adapter_close */ |
379 | /*============================================================================*/ | 379 | /*============================================================================*/ |
380 | 380 | ||
381 | static struct pcmcia_device_id wl_adapter_ids[] = { | 381 | static const struct pcmcia_device_id wl_adapter_ids[] = { |
382 | #if !((HCF_TYPE) & HCF_TYPE_HII5) | 382 | #if !((HCF_TYPE) & HCF_TYPE_HII5) |
383 | PCMCIA_DEVICE_MANF_CARD(0x0156, 0x0003), | 383 | PCMCIA_DEVICE_MANF_CARD(0x0156, 0x0003), |
384 | PCMCIA_DEVICE_PROD_ID12("Agere Systems", "Wireless PC Card Model 0110", | 384 | PCMCIA_DEVICE_PROD_ID12("Agere Systems", "Wireless PC Card Model 0110", |
diff --git a/drivers/telephony/ixj_pcmcia.c b/drivers/telephony/ixj_pcmcia.c index d005b9eeebbc..05032e2cc954 100644 --- a/drivers/telephony/ixj_pcmcia.c +++ b/drivers/telephony/ixj_pcmcia.c | |||
@@ -157,7 +157,7 @@ static void ixj_cs_release(struct pcmcia_device *link) | |||
157 | pcmcia_disable_device(link); | 157 | pcmcia_disable_device(link); |
158 | } | 158 | } |
159 | 159 | ||
160 | static struct pcmcia_device_id ixj_ids[] = { | 160 | static const struct pcmcia_device_id ixj_ids[] = { |
161 | PCMCIA_DEVICE_MANF_CARD(0x0257, 0x0600), | 161 | PCMCIA_DEVICE_MANF_CARD(0x0257, 0x0600), |
162 | PCMCIA_DEVICE_NULL | 162 | PCMCIA_DEVICE_NULL |
163 | }; | 163 | }; |
diff --git a/drivers/tty/ipwireless/main.c b/drivers/tty/ipwireless/main.c index 444155a305ae..655c7948261c 100644 --- a/drivers/tty/ipwireless/main.c +++ b/drivers/tty/ipwireless/main.c | |||
@@ -33,7 +33,7 @@ | |||
33 | #include <pcmcia/ss.h> | 33 | #include <pcmcia/ss.h> |
34 | #include <pcmcia/ds.h> | 34 | #include <pcmcia/ds.h> |
35 | 35 | ||
36 | static struct pcmcia_device_id ipw_ids[] = { | 36 | static const struct pcmcia_device_id ipw_ids[] = { |
37 | PCMCIA_DEVICE_MANF_CARD(0x02f2, 0x0100), | 37 | PCMCIA_DEVICE_MANF_CARD(0x02f2, 0x0100), |
38 | PCMCIA_DEVICE_MANF_CARD(0x02f2, 0x0200), | 38 | PCMCIA_DEVICE_MANF_CARD(0x02f2, 0x0200), |
39 | PCMCIA_DEVICE_NULL | 39 | PCMCIA_DEVICE_NULL |
diff --git a/drivers/tty/serial/serial_cs.c b/drivers/tty/serial/serial_cs.c index 1ef4df9bf7e4..eef736ff810a 100644 --- a/drivers/tty/serial/serial_cs.c +++ b/drivers/tty/serial/serial_cs.c | |||
@@ -670,7 +670,7 @@ failed: | |||
670 | return -ENODEV; | 670 | return -ENODEV; |
671 | } | 671 | } |
672 | 672 | ||
673 | static struct pcmcia_device_id serial_ids[] = { | 673 | static const struct pcmcia_device_id serial_ids[] = { |
674 | PCMCIA_PFC_DEVICE_MANF_CARD(1, 0x0057, 0x0021), | 674 | PCMCIA_PFC_DEVICE_MANF_CARD(1, 0x0057, 0x0021), |
675 | PCMCIA_PFC_DEVICE_MANF_CARD(1, 0x0089, 0x110a), | 675 | PCMCIA_PFC_DEVICE_MANF_CARD(1, 0x0089, 0x110a), |
676 | PCMCIA_PFC_DEVICE_MANF_CARD(1, 0x0104, 0x000a), | 676 | PCMCIA_PFC_DEVICE_MANF_CARD(1, 0x0104, 0x000a), |
diff --git a/drivers/usb/host/sl811_cs.c b/drivers/usb/host/sl811_cs.c index 3775c035a6c5..3b6f50eaec91 100644 --- a/drivers/usb/host/sl811_cs.c +++ b/drivers/usb/host/sl811_cs.c | |||
@@ -187,7 +187,7 @@ static int sl811_cs_probe(struct pcmcia_device *link) | |||
187 | return sl811_cs_config(link); | 187 | return sl811_cs_config(link); |
188 | } | 188 | } |
189 | 189 | ||
190 | static struct pcmcia_device_id sl811_ids[] = { | 190 | static const struct pcmcia_device_id sl811_ids[] = { |
191 | PCMCIA_DEVICE_MANF_CARD(0xc015, 0x0001), /* RATOC USB HOST CF+ Card */ | 191 | PCMCIA_DEVICE_MANF_CARD(0xc015, 0x0001), /* RATOC USB HOST CF+ Card */ |
192 | PCMCIA_DEVICE_NULL, | 192 | PCMCIA_DEVICE_NULL, |
193 | }; | 193 | }; |
diff --git a/include/pcmcia/ds.h b/include/pcmcia/ds.h index 3fd5064dd43a..7b82080eb02c 100644 --- a/include/pcmcia/ds.h +++ b/include/pcmcia/ds.h | |||
@@ -56,7 +56,7 @@ struct pcmcia_driver { | |||
56 | int (*resume) (struct pcmcia_device *dev); | 56 | int (*resume) (struct pcmcia_device *dev); |
57 | 57 | ||
58 | struct module *owner; | 58 | struct module *owner; |
59 | struct pcmcia_device_id *id_table; | 59 | const struct pcmcia_device_id *id_table; |
60 | struct device_driver drv; | 60 | struct device_driver drv; |
61 | struct pcmcia_dynids dynids; | 61 | struct pcmcia_dynids dynids; |
62 | }; | 62 | }; |
diff --git a/sound/pcmcia/pdaudiocf/pdaudiocf.c b/sound/pcmcia/pdaudiocf/pdaudiocf.c index 8cc4733698a0..ce33be0e4e98 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 | */ |
281 | static struct pcmcia_device_id snd_pdacf_ids[] = { | 281 | static 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 80000d631f88..d9ef21d8fa73 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 | ||
353 | static struct pcmcia_device_id vxp_ids[] = { | 353 | static 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 | }; |