diff options
Diffstat (limited to 'drivers/isdn/hardware')
-rw-r--r-- | drivers/isdn/hardware/avm/b1pci.c | 8 | ||||
-rw-r--r-- | drivers/isdn/hardware/avm/c4.c | 3 | ||||
-rw-r--r-- | drivers/isdn/hardware/avm/t1pci.c | 3 | ||||
-rw-r--r-- | drivers/isdn/hardware/eicon/divasmain.c | 9 | ||||
-rw-r--r-- | drivers/isdn/hardware/mISDN/avmfritz.c | 10 | ||||
-rw-r--r-- | drivers/isdn/hardware/mISDN/hfcmulti.c | 6 | ||||
-rw-r--r-- | drivers/isdn/hardware/mISDN/hfcpci.c | 6 | ||||
-rw-r--r-- | drivers/isdn/hardware/mISDN/mISDNinfineon.c | 16 | ||||
-rw-r--r-- | drivers/isdn/hardware/mISDN/netjet.c | 10 | ||||
-rw-r--r-- | drivers/isdn/hardware/mISDN/speedfax.c | 14 | ||||
-rw-r--r-- | drivers/isdn/hardware/mISDN/w6692.c | 6 |
11 files changed, 44 insertions, 47 deletions
diff --git a/drivers/isdn/hardware/avm/b1pci.c b/drivers/isdn/hardware/avm/b1pci.c index b305e6b2b8ee..ac4863c2ecbc 100644 --- a/drivers/isdn/hardware/avm/b1pci.c +++ b/drivers/isdn/hardware/avm/b1pci.c | |||
@@ -299,8 +299,8 @@ static void b1pciv4_remove(struct pci_dev *pdev) | |||
299 | 299 | ||
300 | #endif /* CONFIG_ISDN_DRV_AVMB1_B1PCIV4 */ | 300 | #endif /* CONFIG_ISDN_DRV_AVMB1_B1PCIV4 */ |
301 | 301 | ||
302 | static int __devinit b1pci_pci_probe(struct pci_dev *pdev, | 302 | static int b1pci_pci_probe(struct pci_dev *pdev, |
303 | const struct pci_device_id *ent) | 303 | const struct pci_device_id *ent) |
304 | { | 304 | { |
305 | struct capicardparams param; | 305 | struct capicardparams param; |
306 | int retval; | 306 | int retval; |
@@ -344,7 +344,7 @@ static int __devinit b1pci_pci_probe(struct pci_dev *pdev, | |||
344 | return retval; | 344 | return retval; |
345 | } | 345 | } |
346 | 346 | ||
347 | static void __devexit b1pci_pci_remove(struct pci_dev *pdev) | 347 | static void b1pci_pci_remove(struct pci_dev *pdev) |
348 | { | 348 | { |
349 | #ifdef CONFIG_ISDN_DRV_AVMB1_B1PCIV4 | 349 | #ifdef CONFIG_ISDN_DRV_AVMB1_B1PCIV4 |
350 | avmcard *card = pci_get_drvdata(pdev); | 350 | avmcard *card = pci_get_drvdata(pdev); |
@@ -362,7 +362,7 @@ static struct pci_driver b1pci_pci_driver = { | |||
362 | .name = "b1pci", | 362 | .name = "b1pci", |
363 | .id_table = b1pci_pci_tbl, | 363 | .id_table = b1pci_pci_tbl, |
364 | .probe = b1pci_pci_probe, | 364 | .probe = b1pci_pci_probe, |
365 | .remove = __devexit_p(b1pci_pci_remove), | 365 | .remove = b1pci_pci_remove, |
366 | }; | 366 | }; |
367 | 367 | ||
368 | static struct capi_driver capi_driver_b1pci = { | 368 | static struct capi_driver capi_driver_b1pci = { |
diff --git a/drivers/isdn/hardware/avm/c4.c b/drivers/isdn/hardware/avm/c4.c index 98f18812441d..1d7fc44e3eef 100644 --- a/drivers/isdn/hardware/avm/c4.c +++ b/drivers/isdn/hardware/avm/c4.c | |||
@@ -1249,8 +1249,7 @@ err: | |||
1249 | 1249 | ||
1250 | /* ------------------------------------------------------------- */ | 1250 | /* ------------------------------------------------------------- */ |
1251 | 1251 | ||
1252 | static int __devinit c4_probe(struct pci_dev *dev, | 1252 | static int c4_probe(struct pci_dev *dev, const struct pci_device_id *ent) |
1253 | const struct pci_device_id *ent) | ||
1254 | { | 1253 | { |
1255 | int nr = ent->driver_data; | 1254 | int nr = ent->driver_data; |
1256 | int retval = 0; | 1255 | int retval = 0; |
diff --git a/drivers/isdn/hardware/avm/t1pci.c b/drivers/isdn/hardware/avm/t1pci.c index cb9a30427bd2..2180b1685691 100644 --- a/drivers/isdn/hardware/avm/t1pci.c +++ b/drivers/isdn/hardware/avm/t1pci.c | |||
@@ -187,8 +187,7 @@ static char *t1pci_procinfo(struct capi_ctr *ctrl) | |||
187 | 187 | ||
188 | /* ------------------------------------------------------------- */ | 188 | /* ------------------------------------------------------------- */ |
189 | 189 | ||
190 | static int __devinit t1pci_probe(struct pci_dev *dev, | 190 | static int t1pci_probe(struct pci_dev *dev, const struct pci_device_id *ent) |
191 | const struct pci_device_id *ent) | ||
192 | { | 191 | { |
193 | struct capicardparams param; | 192 | struct capicardparams param; |
194 | int retval; | 193 | int retval; |
diff --git a/drivers/isdn/hardware/eicon/divasmain.c b/drivers/isdn/hardware/eicon/divasmain.c index ca6d276bb256..52377b4bf039 100644 --- a/drivers/isdn/hardware/eicon/divasmain.c +++ b/drivers/isdn/hardware/eicon/divasmain.c | |||
@@ -150,12 +150,12 @@ MODULE_DEVICE_TABLE(pci, divas_pci_tbl); | |||
150 | 150 | ||
151 | static int divas_init_one(struct pci_dev *pdev, | 151 | static int divas_init_one(struct pci_dev *pdev, |
152 | const struct pci_device_id *ent); | 152 | const struct pci_device_id *ent); |
153 | static void __devexit divas_remove_one(struct pci_dev *pdev); | 153 | static void divas_remove_one(struct pci_dev *pdev); |
154 | 154 | ||
155 | static struct pci_driver diva_pci_driver = { | 155 | static struct pci_driver diva_pci_driver = { |
156 | .name = "divas", | 156 | .name = "divas", |
157 | .probe = divas_init_one, | 157 | .probe = divas_init_one, |
158 | .remove = __devexit_p(divas_remove_one), | 158 | .remove = divas_remove_one, |
159 | .id_table = divas_pci_tbl, | 159 | .id_table = divas_pci_tbl, |
160 | }; | 160 | }; |
161 | 161 | ||
@@ -688,8 +688,7 @@ static int __init divas_register_chrdev(void) | |||
688 | /* -------------------------------------------------------------------------- | 688 | /* -------------------------------------------------------------------------- |
689 | PCI driver section | 689 | PCI driver section |
690 | -------------------------------------------------------------------------- */ | 690 | -------------------------------------------------------------------------- */ |
691 | static int __devinit divas_init_one(struct pci_dev *pdev, | 691 | static int divas_init_one(struct pci_dev *pdev, const struct pci_device_id *ent) |
692 | const struct pci_device_id *ent) | ||
693 | { | 692 | { |
694 | void *pdiva = NULL; | 693 | void *pdiva = NULL; |
695 | u8 pci_latency; | 694 | u8 pci_latency; |
@@ -749,7 +748,7 @@ static int __devinit divas_init_one(struct pci_dev *pdev, | |||
749 | return (0); | 748 | return (0); |
750 | } | 749 | } |
751 | 750 | ||
752 | static void __devexit divas_remove_one(struct pci_dev *pdev) | 751 | static void divas_remove_one(struct pci_dev *pdev) |
753 | { | 752 | { |
754 | void *pdiva = pci_get_drvdata(pdev); | 753 | void *pdiva = pci_get_drvdata(pdev); |
755 | 754 | ||
diff --git a/drivers/isdn/hardware/mISDN/avmfritz.c b/drivers/isdn/hardware/mISDN/avmfritz.c index dceaec821b0e..292991c90c02 100644 --- a/drivers/isdn/hardware/mISDN/avmfritz.c +++ b/drivers/isdn/hardware/mISDN/avmfritz.c | |||
@@ -1034,7 +1034,7 @@ release_card(struct fritzcard *card) | |||
1034 | AVM_cnt--; | 1034 | AVM_cnt--; |
1035 | } | 1035 | } |
1036 | 1036 | ||
1037 | static int __devinit | 1037 | static int |
1038 | setup_instance(struct fritzcard *card) | 1038 | setup_instance(struct fritzcard *card) |
1039 | { | 1039 | { |
1040 | int i, err; | 1040 | int i, err; |
@@ -1096,7 +1096,7 @@ error: | |||
1096 | return err; | 1096 | return err; |
1097 | } | 1097 | } |
1098 | 1098 | ||
1099 | static int __devinit | 1099 | static int |
1100 | fritzpci_probe(struct pci_dev *pdev, const struct pci_device_id *ent) | 1100 | fritzpci_probe(struct pci_dev *pdev, const struct pci_device_id *ent) |
1101 | { | 1101 | { |
1102 | int err = -ENOMEM; | 1102 | int err = -ENOMEM; |
@@ -1130,7 +1130,7 @@ fritzpci_probe(struct pci_dev *pdev, const struct pci_device_id *ent) | |||
1130 | return err; | 1130 | return err; |
1131 | } | 1131 | } |
1132 | 1132 | ||
1133 | static void __devexit | 1133 | static void |
1134 | fritz_remove_pci(struct pci_dev *pdev) | 1134 | fritz_remove_pci(struct pci_dev *pdev) |
1135 | { | 1135 | { |
1136 | struct fritzcard *card = pci_get_drvdata(pdev); | 1136 | struct fritzcard *card = pci_get_drvdata(pdev); |
@@ -1142,7 +1142,7 @@ fritz_remove_pci(struct pci_dev *pdev) | |||
1142 | pr_info("%s: drvdata already removed\n", __func__); | 1142 | pr_info("%s: drvdata already removed\n", __func__); |
1143 | } | 1143 | } |
1144 | 1144 | ||
1145 | static struct pci_device_id fcpci_ids[] __devinitdata = { | 1145 | static struct pci_device_id fcpci_ids[] = { |
1146 | { PCI_VENDOR_ID_AVM, PCI_DEVICE_ID_AVM_A1, PCI_ANY_ID, PCI_ANY_ID, | 1146 | { PCI_VENDOR_ID_AVM, PCI_DEVICE_ID_AVM_A1, PCI_ANY_ID, PCI_ANY_ID, |
1147 | 0, 0, (unsigned long) "Fritz!Card PCI"}, | 1147 | 0, 0, (unsigned long) "Fritz!Card PCI"}, |
1148 | { PCI_VENDOR_ID_AVM, PCI_DEVICE_ID_AVM_A1_V2, PCI_ANY_ID, PCI_ANY_ID, | 1148 | { PCI_VENDOR_ID_AVM, PCI_DEVICE_ID_AVM_A1_V2, PCI_ANY_ID, PCI_ANY_ID, |
@@ -1154,7 +1154,7 @@ MODULE_DEVICE_TABLE(pci, fcpci_ids); | |||
1154 | static struct pci_driver fcpci_driver = { | 1154 | static struct pci_driver fcpci_driver = { |
1155 | .name = "fcpci", | 1155 | .name = "fcpci", |
1156 | .probe = fritzpci_probe, | 1156 | .probe = fritzpci_probe, |
1157 | .remove = __devexit_p(fritz_remove_pci), | 1157 | .remove = fritz_remove_pci, |
1158 | .id_table = fcpci_ids, | 1158 | .id_table = fcpci_ids, |
1159 | }; | 1159 | }; |
1160 | 1160 | ||
diff --git a/drivers/isdn/hardware/mISDN/hfcmulti.c b/drivers/isdn/hardware/mISDN/hfcmulti.c index f02794203bb1..28543d795188 100644 --- a/drivers/isdn/hardware/mISDN/hfcmulti.c +++ b/drivers/isdn/hardware/mISDN/hfcmulti.c | |||
@@ -5274,7 +5274,7 @@ free_card: | |||
5274 | return ret_err; | 5274 | return ret_err; |
5275 | } | 5275 | } |
5276 | 5276 | ||
5277 | static void __devexit hfc_remove_pci(struct pci_dev *pdev) | 5277 | static void hfc_remove_pci(struct pci_dev *pdev) |
5278 | { | 5278 | { |
5279 | struct hfc_multi *card = pci_get_drvdata(pdev); | 5279 | struct hfc_multi *card = pci_get_drvdata(pdev); |
5280 | u_long flags; | 5280 | u_long flags; |
@@ -5351,7 +5351,7 @@ static const struct hm_map hfcm_map[] = { | |||
5351 | 5351 | ||
5352 | #undef H | 5352 | #undef H |
5353 | #define H(x) ((unsigned long)&hfcm_map[x]) | 5353 | #define H(x) ((unsigned long)&hfcm_map[x]) |
5354 | static struct pci_device_id hfmultipci_ids[] __devinitdata = { | 5354 | static struct pci_device_id hfmultipci_ids[] = { |
5355 | 5355 | ||
5356 | /* Cards with HFC-4S Chip */ | 5356 | /* Cards with HFC-4S Chip */ |
5357 | { PCI_VENDOR_ID_CCD, PCI_DEVICE_ID_CCD_HFC4S, PCI_VENDOR_ID_CCD, | 5357 | { PCI_VENDOR_ID_CCD, PCI_DEVICE_ID_CCD_HFC4S, PCI_VENDOR_ID_CCD, |
@@ -5472,7 +5472,7 @@ hfcmulti_probe(struct pci_dev *pdev, const struct pci_device_id *ent) | |||
5472 | static struct pci_driver hfcmultipci_driver = { | 5472 | static struct pci_driver hfcmultipci_driver = { |
5473 | .name = "hfc_multi", | 5473 | .name = "hfc_multi", |
5474 | .probe = hfcmulti_probe, | 5474 | .probe = hfcmulti_probe, |
5475 | .remove = __devexit_p(hfc_remove_pci), | 5475 | .remove = hfc_remove_pci, |
5476 | .id_table = hfmultipci_ids, | 5476 | .id_table = hfmultipci_ids, |
5477 | }; | 5477 | }; |
5478 | 5478 | ||
diff --git a/drivers/isdn/hardware/mISDN/hfcpci.c b/drivers/isdn/hardware/mISDN/hfcpci.c index 6e99d73563b8..a7e4939787c9 100644 --- a/drivers/isdn/hardware/mISDN/hfcpci.c +++ b/drivers/isdn/hardware/mISDN/hfcpci.c | |||
@@ -2215,7 +2215,7 @@ static struct pci_device_id hfc_ids[] = | |||
2215 | {}, | 2215 | {}, |
2216 | }; | 2216 | }; |
2217 | 2217 | ||
2218 | static int __devinit | 2218 | static int |
2219 | hfc_probe(struct pci_dev *pdev, const struct pci_device_id *ent) | 2219 | hfc_probe(struct pci_dev *pdev, const struct pci_device_id *ent) |
2220 | { | 2220 | { |
2221 | int err = -ENOMEM; | 2221 | int err = -ENOMEM; |
@@ -2246,7 +2246,7 @@ hfc_probe(struct pci_dev *pdev, const struct pci_device_id *ent) | |||
2246 | return err; | 2246 | return err; |
2247 | } | 2247 | } |
2248 | 2248 | ||
2249 | static void __devexit | 2249 | static void |
2250 | hfc_remove_pci(struct pci_dev *pdev) | 2250 | hfc_remove_pci(struct pci_dev *pdev) |
2251 | { | 2251 | { |
2252 | struct hfc_pci *card = pci_get_drvdata(pdev); | 2252 | struct hfc_pci *card = pci_get_drvdata(pdev); |
@@ -2263,7 +2263,7 @@ hfc_remove_pci(struct pci_dev *pdev) | |||
2263 | static struct pci_driver hfc_driver = { | 2263 | static struct pci_driver hfc_driver = { |
2264 | .name = "hfcpci", | 2264 | .name = "hfcpci", |
2265 | .probe = hfc_probe, | 2265 | .probe = hfc_probe, |
2266 | .remove = __devexit_p(hfc_remove_pci), | 2266 | .remove = hfc_remove_pci, |
2267 | .id_table = hfc_ids, | 2267 | .id_table = hfc_ids, |
2268 | }; | 2268 | }; |
2269 | 2269 | ||
diff --git a/drivers/isdn/hardware/mISDN/mISDNinfineon.c b/drivers/isdn/hardware/mISDN/mISDNinfineon.c index 631eb3fa63cf..c1493f4162fb 100644 --- a/drivers/isdn/hardware/mISDN/mISDNinfineon.c +++ b/drivers/isdn/hardware/mISDN/mISDNinfineon.c | |||
@@ -125,7 +125,7 @@ struct inf_hw { | |||
125 | #define PCI_SUBVENDOR_SEDLBAUER_PCI 0x53 | 125 | #define PCI_SUBVENDOR_SEDLBAUER_PCI 0x53 |
126 | #define PCI_SUB_ID_SEDLBAUER 0x01 | 126 | #define PCI_SUB_ID_SEDLBAUER 0x01 |
127 | 127 | ||
128 | static struct pci_device_id infineon_ids[] __devinitdata = { | 128 | static struct pci_device_id infineon_ids[] = { |
129 | { PCI_VDEVICE(EICON, PCI_DEVICE_ID_EICON_DIVA20), INF_DIVA20 }, | 129 | { PCI_VDEVICE(EICON, PCI_DEVICE_ID_EICON_DIVA20), INF_DIVA20 }, |
130 | { PCI_VDEVICE(EICON, PCI_DEVICE_ID_EICON_DIVA20_U), INF_DIVA20U }, | 130 | { PCI_VDEVICE(EICON, PCI_DEVICE_ID_EICON_DIVA20_U), INF_DIVA20U }, |
131 | { PCI_VDEVICE(EICON, PCI_DEVICE_ID_EICON_DIVA201), INF_DIVA201 }, | 131 | { PCI_VDEVICE(EICON, PCI_DEVICE_ID_EICON_DIVA201), INF_DIVA201 }, |
@@ -603,7 +603,7 @@ inf_ctrl(struct inf_hw *hw, u32 cmd, u_long arg) | |||
603 | return ret; | 603 | return ret; |
604 | } | 604 | } |
605 | 605 | ||
606 | static int __devinit | 606 | static int |
607 | init_irq(struct inf_hw *hw) | 607 | init_irq(struct inf_hw *hw) |
608 | { | 608 | { |
609 | int ret, cnt = 3; | 609 | int ret, cnt = 3; |
@@ -662,7 +662,7 @@ release_io(struct inf_hw *hw) | |||
662 | } | 662 | } |
663 | } | 663 | } |
664 | 664 | ||
665 | static int __devinit | 665 | static int |
666 | setup_io(struct inf_hw *hw) | 666 | setup_io(struct inf_hw *hw) |
667 | { | 667 | { |
668 | int err = 0; | 668 | int err = 0; |
@@ -896,7 +896,7 @@ release_card(struct inf_hw *card) { | |||
896 | inf_cnt--; | 896 | inf_cnt--; |
897 | } | 897 | } |
898 | 898 | ||
899 | static int __devinit | 899 | static int |
900 | setup_instance(struct inf_hw *card) | 900 | setup_instance(struct inf_hw *card) |
901 | { | 901 | { |
902 | int err; | 902 | int err; |
@@ -1060,7 +1060,7 @@ static const struct inf_cinfo inf_card_info[] = { | |||
1060 | } | 1060 | } |
1061 | }; | 1061 | }; |
1062 | 1062 | ||
1063 | static const struct inf_cinfo * __devinit | 1063 | static const struct inf_cinfo * |
1064 | get_card_info(enum inf_types typ) | 1064 | get_card_info(enum inf_types typ) |
1065 | { | 1065 | { |
1066 | const struct inf_cinfo *ci = inf_card_info; | 1066 | const struct inf_cinfo *ci = inf_card_info; |
@@ -1073,7 +1073,7 @@ get_card_info(enum inf_types typ) | |||
1073 | return NULL; | 1073 | return NULL; |
1074 | } | 1074 | } |
1075 | 1075 | ||
1076 | static int __devinit | 1076 | static int |
1077 | inf_probe(struct pci_dev *pdev, const struct pci_device_id *ent) | 1077 | inf_probe(struct pci_dev *pdev, const struct pci_device_id *ent) |
1078 | { | 1078 | { |
1079 | int err = -ENOMEM; | 1079 | int err = -ENOMEM; |
@@ -1135,7 +1135,7 @@ inf_probe(struct pci_dev *pdev, const struct pci_device_id *ent) | |||
1135 | return err; | 1135 | return err; |
1136 | } | 1136 | } |
1137 | 1137 | ||
1138 | static void __devexit | 1138 | static void |
1139 | inf_remove(struct pci_dev *pdev) | 1139 | inf_remove(struct pci_dev *pdev) |
1140 | { | 1140 | { |
1141 | struct inf_hw *card = pci_get_drvdata(pdev); | 1141 | struct inf_hw *card = pci_get_drvdata(pdev); |
@@ -1149,7 +1149,7 @@ inf_remove(struct pci_dev *pdev) | |||
1149 | static struct pci_driver infineon_driver = { | 1149 | static struct pci_driver infineon_driver = { |
1150 | .name = "ISDN Infineon pci", | 1150 | .name = "ISDN Infineon pci", |
1151 | .probe = inf_probe, | 1151 | .probe = inf_probe, |
1152 | .remove = __devexit_p(inf_remove), | 1152 | .remove = inf_remove, |
1153 | .id_table = infineon_ids, | 1153 | .id_table = infineon_ids, |
1154 | }; | 1154 | }; |
1155 | 1155 | ||
diff --git a/drivers/isdn/hardware/mISDN/netjet.c b/drivers/isdn/hardware/mISDN/netjet.c index 9bcade59eb73..8e2944784e00 100644 --- a/drivers/isdn/hardware/mISDN/netjet.c +++ b/drivers/isdn/hardware/mISDN/netjet.c | |||
@@ -1008,7 +1008,7 @@ nj_setup(struct tiger_hw *card) | |||
1008 | } | 1008 | } |
1009 | 1009 | ||
1010 | 1010 | ||
1011 | static int __devinit | 1011 | static int |
1012 | setup_instance(struct tiger_hw *card) | 1012 | setup_instance(struct tiger_hw *card) |
1013 | { | 1013 | { |
1014 | int i, err; | 1014 | int i, err; |
@@ -1059,7 +1059,7 @@ error: | |||
1059 | return err; | 1059 | return err; |
1060 | } | 1060 | } |
1061 | 1061 | ||
1062 | static int __devinit | 1062 | static int |
1063 | nj_probe(struct pci_dev *pdev, const struct pci_device_id *ent) | 1063 | nj_probe(struct pci_dev *pdev, const struct pci_device_id *ent) |
1064 | { | 1064 | { |
1065 | int err = -ENOMEM; | 1065 | int err = -ENOMEM; |
@@ -1124,7 +1124,7 @@ nj_probe(struct pci_dev *pdev, const struct pci_device_id *ent) | |||
1124 | } | 1124 | } |
1125 | 1125 | ||
1126 | 1126 | ||
1127 | static void __devexit nj_remove(struct pci_dev *pdev) | 1127 | static void nj_remove(struct pci_dev *pdev) |
1128 | { | 1128 | { |
1129 | struct tiger_hw *card = pci_get_drvdata(pdev); | 1129 | struct tiger_hw *card = pci_get_drvdata(pdev); |
1130 | 1130 | ||
@@ -1137,7 +1137,7 @@ static void __devexit nj_remove(struct pci_dev *pdev) | |||
1137 | /* We cannot select cards with PCI_SUB... IDs, since here are cards with | 1137 | /* We cannot select cards with PCI_SUB... IDs, since here are cards with |
1138 | * SUB IDs set to PCI_ANY_ID, so we need to match all and reject | 1138 | * SUB IDs set to PCI_ANY_ID, so we need to match all and reject |
1139 | * known other cards which not work with this driver - see probe function */ | 1139 | * known other cards which not work with this driver - see probe function */ |
1140 | static struct pci_device_id nj_pci_ids[] __devinitdata = { | 1140 | static struct pci_device_id nj_pci_ids[] = { |
1141 | { PCI_VENDOR_ID_TIGERJET, PCI_DEVICE_ID_TIGERJET_300, | 1141 | { PCI_VENDOR_ID_TIGERJET, PCI_DEVICE_ID_TIGERJET_300, |
1142 | PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, | 1142 | PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, |
1143 | { } | 1143 | { } |
@@ -1147,7 +1147,7 @@ MODULE_DEVICE_TABLE(pci, nj_pci_ids); | |||
1147 | static struct pci_driver nj_driver = { | 1147 | static struct pci_driver nj_driver = { |
1148 | .name = "netjet", | 1148 | .name = "netjet", |
1149 | .probe = nj_probe, | 1149 | .probe = nj_probe, |
1150 | .remove = __devexit_p(nj_remove), | 1150 | .remove = nj_remove, |
1151 | .id_table = nj_pci_ids, | 1151 | .id_table = nj_pci_ids, |
1152 | }; | 1152 | }; |
1153 | 1153 | ||
diff --git a/drivers/isdn/hardware/mISDN/speedfax.c b/drivers/isdn/hardware/mISDN/speedfax.c index 93f344d74e54..9815bb4eec9c 100644 --- a/drivers/isdn/hardware/mISDN/speedfax.c +++ b/drivers/isdn/hardware/mISDN/speedfax.c | |||
@@ -282,7 +282,7 @@ sfax_dctrl(struct mISDNchannel *ch, u32 cmd, void *arg) | |||
282 | return err; | 282 | return err; |
283 | } | 283 | } |
284 | 284 | ||
285 | static int __devinit | 285 | static int |
286 | init_card(struct sfax_hw *sf) | 286 | init_card(struct sfax_hw *sf) |
287 | { | 287 | { |
288 | int ret, cnt = 3; | 288 | int ret, cnt = 3; |
@@ -321,7 +321,7 @@ init_card(struct sfax_hw *sf) | |||
321 | } | 321 | } |
322 | 322 | ||
323 | 323 | ||
324 | static int __devinit | 324 | static int |
325 | setup_speedfax(struct sfax_hw *sf) | 325 | setup_speedfax(struct sfax_hw *sf) |
326 | { | 326 | { |
327 | u_long flags; | 327 | u_long flags; |
@@ -371,7 +371,7 @@ release_card(struct sfax_hw *card) { | |||
371 | sfax_cnt--; | 371 | sfax_cnt--; |
372 | } | 372 | } |
373 | 373 | ||
374 | static int __devinit | 374 | static int |
375 | setup_instance(struct sfax_hw *card) | 375 | setup_instance(struct sfax_hw *card) |
376 | { | 376 | { |
377 | const struct firmware *firmware; | 377 | const struct firmware *firmware; |
@@ -451,7 +451,7 @@ error_fw: | |||
451 | return err; | 451 | return err; |
452 | } | 452 | } |
453 | 453 | ||
454 | static int __devinit | 454 | static int |
455 | sfaxpci_probe(struct pci_dev *pdev, const struct pci_device_id *ent) | 455 | sfaxpci_probe(struct pci_dev *pdev, const struct pci_device_id *ent) |
456 | { | 456 | { |
457 | int err = -ENOMEM; | 457 | int err = -ENOMEM; |
@@ -480,7 +480,7 @@ sfaxpci_probe(struct pci_dev *pdev, const struct pci_device_id *ent) | |||
480 | return err; | 480 | return err; |
481 | } | 481 | } |
482 | 482 | ||
483 | static void __devexit | 483 | static void |
484 | sfax_remove_pci(struct pci_dev *pdev) | 484 | sfax_remove_pci(struct pci_dev *pdev) |
485 | { | 485 | { |
486 | struct sfax_hw *card = pci_get_drvdata(pdev); | 486 | struct sfax_hw *card = pci_get_drvdata(pdev); |
@@ -491,7 +491,7 @@ sfax_remove_pci(struct pci_dev *pdev) | |||
491 | pr_debug("%s: drvdata already removed\n", __func__); | 491 | pr_debug("%s: drvdata already removed\n", __func__); |
492 | } | 492 | } |
493 | 493 | ||
494 | static struct pci_device_id sfaxpci_ids[] __devinitdata = { | 494 | static struct pci_device_id sfaxpci_ids[] = { |
495 | { PCI_VENDOR_ID_TIGERJET, PCI_DEVICE_ID_TIGERJET_100, | 495 | { PCI_VENDOR_ID_TIGERJET, PCI_DEVICE_ID_TIGERJET_100, |
496 | PCI_SUBVENDOR_SPEEDFAX_PYRAMID, PCI_SUB_ID_SEDLBAUER, | 496 | PCI_SUBVENDOR_SPEEDFAX_PYRAMID, PCI_SUB_ID_SEDLBAUER, |
497 | 0, 0, (unsigned long) "Pyramid Speedfax + PCI" | 497 | 0, 0, (unsigned long) "Pyramid Speedfax + PCI" |
@@ -507,7 +507,7 @@ MODULE_DEVICE_TABLE(pci, sfaxpci_ids); | |||
507 | static struct pci_driver sfaxpci_driver = { | 507 | static struct pci_driver sfaxpci_driver = { |
508 | .name = "speedfax+ pci", | 508 | .name = "speedfax+ pci", |
509 | .probe = sfaxpci_probe, | 509 | .probe = sfaxpci_probe, |
510 | .remove = __devexit_p(sfax_remove_pci), | 510 | .remove = sfax_remove_pci, |
511 | .id_table = sfaxpci_ids, | 511 | .id_table = sfaxpci_ids, |
512 | }; | 512 | }; |
513 | 513 | ||
diff --git a/drivers/isdn/hardware/mISDN/w6692.c b/drivers/isdn/hardware/mISDN/w6692.c index 335fe6455002..de69f6828c76 100644 --- a/drivers/isdn/hardware/mISDN/w6692.c +++ b/drivers/isdn/hardware/mISDN/w6692.c | |||
@@ -1355,7 +1355,7 @@ error_setup: | |||
1355 | return err; | 1355 | return err; |
1356 | } | 1356 | } |
1357 | 1357 | ||
1358 | static int __devinit | 1358 | static int |
1359 | w6692_probe(struct pci_dev *pdev, const struct pci_device_id *ent) | 1359 | w6692_probe(struct pci_dev *pdev, const struct pci_device_id *ent) |
1360 | { | 1360 | { |
1361 | int err = -ENOMEM; | 1361 | int err = -ENOMEM; |
@@ -1387,7 +1387,7 @@ w6692_probe(struct pci_dev *pdev, const struct pci_device_id *ent) | |||
1387 | return err; | 1387 | return err; |
1388 | } | 1388 | } |
1389 | 1389 | ||
1390 | static void __devexit | 1390 | static void |
1391 | w6692_remove_pci(struct pci_dev *pdev) | 1391 | w6692_remove_pci(struct pci_dev *pdev) |
1392 | { | 1392 | { |
1393 | struct w6692_hw *card = pci_get_drvdata(pdev); | 1393 | struct w6692_hw *card = pci_get_drvdata(pdev); |
@@ -1414,7 +1414,7 @@ MODULE_DEVICE_TABLE(pci, w6692_ids); | |||
1414 | static struct pci_driver w6692_driver = { | 1414 | static struct pci_driver w6692_driver = { |
1415 | .name = "w6692", | 1415 | .name = "w6692", |
1416 | .probe = w6692_probe, | 1416 | .probe = w6692_probe, |
1417 | .remove = __devexit_p(w6692_remove_pci), | 1417 | .remove = w6692_remove_pci, |
1418 | .id_table = w6692_ids, | 1418 | .id_table = w6692_ids, |
1419 | }; | 1419 | }; |
1420 | 1420 | ||