diff options
Diffstat (limited to 'drivers/block/cpqarray.c')
-rw-r--r-- | drivers/block/cpqarray.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/block/cpqarray.c b/drivers/block/cpqarray.c index 9125bbeacd4d..3f087133a25a 100644 --- a/drivers/block/cpqarray.c +++ b/drivers/block/cpqarray.c | |||
@@ -320,7 +320,7 @@ static void release_io_mem(ctlr_info_t *c) | |||
320 | c->io_mem_length = 0; | 320 | c->io_mem_length = 0; |
321 | } | 321 | } |
322 | 322 | ||
323 | static void __devexit cpqarray_remove_one(int i) | 323 | static void cpqarray_remove_one(int i) |
324 | { | 324 | { |
325 | int j; | 325 | int j; |
326 | char buff[4]; | 326 | char buff[4]; |
@@ -352,7 +352,7 @@ static void __devexit cpqarray_remove_one(int i) | |||
352 | free_hba(i); | 352 | free_hba(i); |
353 | } | 353 | } |
354 | 354 | ||
355 | static void __devexit cpqarray_remove_one_pci (struct pci_dev *pdev) | 355 | static void cpqarray_remove_one_pci(struct pci_dev *pdev) |
356 | { | 356 | { |
357 | int i; | 357 | int i; |
358 | ctlr_info_t *tmp_ptr; | 358 | ctlr_info_t *tmp_ptr; |
@@ -377,7 +377,7 @@ static void __devexit cpqarray_remove_one_pci (struct pci_dev *pdev) | |||
377 | /* removing an instance that was not removed automatically.. | 377 | /* removing an instance that was not removed automatically.. |
378 | * must be an eisa card. | 378 | * must be an eisa card. |
379 | */ | 379 | */ |
380 | static void __devexit cpqarray_remove_one_eisa (int i) | 380 | static void cpqarray_remove_one_eisa(int i) |
381 | { | 381 | { |
382 | if (hba[i] == NULL) { | 382 | if (hba[i] == NULL) { |
383 | printk(KERN_ERR "cpqarray: controller %d appears to have" | 383 | printk(KERN_ERR "cpqarray: controller %d appears to have" |
@@ -388,7 +388,7 @@ static void __devexit cpqarray_remove_one_eisa (int i) | |||
388 | } | 388 | } |
389 | 389 | ||
390 | /* pdev is NULL for eisa */ | 390 | /* pdev is NULL for eisa */ |
391 | static int __devinit cpqarray_register_ctlr( int i, struct pci_dev *pdev) | 391 | static int cpqarray_register_ctlr(int i, struct pci_dev *pdev) |
392 | { | 392 | { |
393 | struct request_queue *q; | 393 | struct request_queue *q; |
394 | int j; | 394 | int j; |
@@ -505,8 +505,8 @@ Enomem4: | |||
505 | return -1; | 505 | return -1; |
506 | } | 506 | } |
507 | 507 | ||
508 | static int __devinit cpqarray_init_one( struct pci_dev *pdev, | 508 | static int cpqarray_init_one(struct pci_dev *pdev, |
509 | const struct pci_device_id *ent) | 509 | const struct pci_device_id *ent) |
510 | { | 510 | { |
511 | int i; | 511 | int i; |
512 | 512 | ||
@@ -536,7 +536,7 @@ static int __devinit cpqarray_init_one( struct pci_dev *pdev, | |||
536 | static struct pci_driver cpqarray_pci_driver = { | 536 | static struct pci_driver cpqarray_pci_driver = { |
537 | .name = "cpqarray", | 537 | .name = "cpqarray", |
538 | .probe = cpqarray_init_one, | 538 | .probe = cpqarray_init_one, |
539 | .remove = __devexit_p(cpqarray_remove_one_pci), | 539 | .remove = cpqarray_remove_one_pci, |
540 | .id_table = cpqarray_pci_device_id, | 540 | .id_table = cpqarray_pci_device_id, |
541 | }; | 541 | }; |
542 | 542 | ||
@@ -742,7 +742,7 @@ __setup("smart2=", cpqarray_setup); | |||
742 | /* | 742 | /* |
743 | * Find an EISA controller's signature. Set up an hba if we find it. | 743 | * Find an EISA controller's signature. Set up an hba if we find it. |
744 | */ | 744 | */ |
745 | static int __devinit cpqarray_eisa_detect(void) | 745 | static int cpqarray_eisa_detect(void) |
746 | { | 746 | { |
747 | int i=0, j; | 747 | int i=0, j; |
748 | __u32 board_id; | 748 | __u32 board_id; |