diff options
Diffstat (limited to 'drivers/media/pci/mantis/mantis_cards.c')
-rw-r--r-- | drivers/media/pci/mantis/mantis_cards.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/media/pci/mantis/mantis_cards.c b/drivers/media/pci/mantis/mantis_cards.c index 0207d1f064e0..932a0d73a7f8 100644 --- a/drivers/media/pci/mantis/mantis_cards.c +++ b/drivers/media/pci/mantis/mantis_cards.c | |||
@@ -159,7 +159,8 @@ static irqreturn_t mantis_irq_handler(int irq, void *dev_id) | |||
159 | return IRQ_HANDLED; | 159 | return IRQ_HANDLED; |
160 | } | 160 | } |
161 | 161 | ||
162 | static int __devinit mantis_pci_probe(struct pci_dev *pdev, const struct pci_device_id *pci_id) | 162 | static int mantis_pci_probe(struct pci_dev *pdev, |
163 | const struct pci_device_id *pci_id) | ||
163 | { | 164 | { |
164 | struct mantis_pci *mantis; | 165 | struct mantis_pci *mantis; |
165 | struct mantis_hwconfig *config; | 166 | struct mantis_hwconfig *config; |
@@ -249,7 +250,7 @@ fail0: | |||
249 | return err; | 250 | return err; |
250 | } | 251 | } |
251 | 252 | ||
252 | static void __devexit mantis_pci_remove(struct pci_dev *pdev) | 253 | static void mantis_pci_remove(struct pci_dev *pdev) |
253 | { | 254 | { |
254 | struct mantis_pci *mantis = pci_get_drvdata(pdev); | 255 | struct mantis_pci *mantis = pci_get_drvdata(pdev); |
255 | 256 | ||
@@ -289,12 +290,12 @@ static struct pci_driver mantis_pci_driver = { | |||
289 | .remove = mantis_pci_remove, | 290 | .remove = mantis_pci_remove, |
290 | }; | 291 | }; |
291 | 292 | ||
292 | static int __devinit mantis_init(void) | 293 | static int mantis_init(void) |
293 | { | 294 | { |
294 | return pci_register_driver(&mantis_pci_driver); | 295 | return pci_register_driver(&mantis_pci_driver); |
295 | } | 296 | } |
296 | 297 | ||
297 | static void __devexit mantis_exit(void) | 298 | static void mantis_exit(void) |
298 | { | 299 | { |
299 | return pci_unregister_driver(&mantis_pci_driver); | 300 | return pci_unregister_driver(&mantis_pci_driver); |
300 | } | 301 | } |