diff options
Diffstat (limited to 'drivers/media/pci/mantis/hopper_cards.c')
-rw-r--r-- | drivers/media/pci/mantis/hopper_cards.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/media/pci/mantis/hopper_cards.c b/drivers/media/pci/mantis/hopper_cards.c index cc0251e01077..6fe9fe5293dc 100644 --- a/drivers/media/pci/mantis/hopper_cards.c +++ b/drivers/media/pci/mantis/hopper_cards.c | |||
@@ -151,7 +151,8 @@ static irqreturn_t hopper_irq_handler(int irq, void *dev_id) | |||
151 | return IRQ_HANDLED; | 151 | return IRQ_HANDLED; |
152 | } | 152 | } |
153 | 153 | ||
154 | static int __devinit hopper_pci_probe(struct pci_dev *pdev, const struct pci_device_id *pci_id) | 154 | static int hopper_pci_probe(struct pci_dev *pdev, |
155 | const struct pci_device_id *pci_id) | ||
155 | { | 156 | { |
156 | struct mantis_pci *mantis; | 157 | struct mantis_pci *mantis; |
157 | struct mantis_hwconfig *config; | 158 | struct mantis_hwconfig *config; |
@@ -230,7 +231,7 @@ fail0: | |||
230 | return err; | 231 | return err; |
231 | } | 232 | } |
232 | 233 | ||
233 | static void __devexit hopper_pci_remove(struct pci_dev *pdev) | 234 | static void hopper_pci_remove(struct pci_dev *pdev) |
234 | { | 235 | { |
235 | struct mantis_pci *mantis = pci_get_drvdata(pdev); | 236 | struct mantis_pci *mantis = pci_get_drvdata(pdev); |
236 | 237 | ||
@@ -259,12 +260,12 @@ static struct pci_driver hopper_pci_driver = { | |||
259 | .remove = hopper_pci_remove, | 260 | .remove = hopper_pci_remove, |
260 | }; | 261 | }; |
261 | 262 | ||
262 | static int __devinit hopper_init(void) | 263 | static int hopper_init(void) |
263 | { | 264 | { |
264 | return pci_register_driver(&hopper_pci_driver); | 265 | return pci_register_driver(&hopper_pci_driver); |
265 | } | 266 | } |
266 | 267 | ||
267 | static void __devexit hopper_exit(void) | 268 | static void hopper_exit(void) |
268 | { | 269 | { |
269 | return pci_unregister_driver(&hopper_pci_driver); | 270 | return pci_unregister_driver(&hopper_pci_driver); |
270 | } | 271 | } |