diff options
Diffstat (limited to 'drivers/isdn/hardware/mISDN/mISDNinfineon.c')
-rw-r--r-- | drivers/isdn/hardware/mISDN/mISDNinfineon.c | 16 |
1 files changed, 8 insertions, 8 deletions
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 | ||