diff options
Diffstat (limited to 'drivers/scsi/qlogicpti.c')
-rw-r--r-- | drivers/scsi/qlogicpti.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/drivers/scsi/qlogicpti.c b/drivers/scsi/qlogicpti.c index 71fddbc60f18..6d48d30bed05 100644 --- a/drivers/scsi/qlogicpti.c +++ b/drivers/scsi/qlogicpti.c | |||
@@ -461,7 +461,7 @@ static int qlogicpti_reset_hardware(struct Scsi_Host *host) | |||
461 | 461 | ||
462 | #define PTI_RESET_LIMIT 400 | 462 | #define PTI_RESET_LIMIT 400 |
463 | 463 | ||
464 | static int __devinit qlogicpti_load_firmware(struct qlogicpti *qpti) | 464 | static int qlogicpti_load_firmware(struct qlogicpti *qpti) |
465 | { | 465 | { |
466 | const struct firmware *fw; | 466 | const struct firmware *fw; |
467 | const char fwname[] = "qlogic/isp1000.bin"; | 467 | const char fwname[] = "qlogic/isp1000.bin"; |
@@ -670,7 +670,7 @@ static int qlogicpti_verify_tmon(struct qlogicpti *qpti) | |||
670 | 670 | ||
671 | static irqreturn_t qpti_intr(int irq, void *dev_id); | 671 | static irqreturn_t qpti_intr(int irq, void *dev_id); |
672 | 672 | ||
673 | static void __devinit qpti_chain_add(struct qlogicpti *qpti) | 673 | static void qpti_chain_add(struct qlogicpti *qpti) |
674 | { | 674 | { |
675 | spin_lock_irq(&qptichain_lock); | 675 | spin_lock_irq(&qptichain_lock); |
676 | if (qptichain != NULL) { | 676 | if (qptichain != NULL) { |
@@ -686,7 +686,7 @@ static void __devinit qpti_chain_add(struct qlogicpti *qpti) | |||
686 | spin_unlock_irq(&qptichain_lock); | 686 | spin_unlock_irq(&qptichain_lock); |
687 | } | 687 | } |
688 | 688 | ||
689 | static void __devexit qpti_chain_del(struct qlogicpti *qpti) | 689 | static void qpti_chain_del(struct qlogicpti *qpti) |
690 | { | 690 | { |
691 | spin_lock_irq(&qptichain_lock); | 691 | spin_lock_irq(&qptichain_lock); |
692 | if (qptichain == qpti) { | 692 | if (qptichain == qpti) { |
@@ -701,7 +701,7 @@ static void __devexit qpti_chain_del(struct qlogicpti *qpti) | |||
701 | spin_unlock_irq(&qptichain_lock); | 701 | spin_unlock_irq(&qptichain_lock); |
702 | } | 702 | } |
703 | 703 | ||
704 | static int __devinit qpti_map_regs(struct qlogicpti *qpti) | 704 | static int qpti_map_regs(struct qlogicpti *qpti) |
705 | { | 705 | { |
706 | struct platform_device *op = qpti->op; | 706 | struct platform_device *op = qpti->op; |
707 | 707 | ||
@@ -724,7 +724,7 @@ static int __devinit qpti_map_regs(struct qlogicpti *qpti) | |||
724 | return 0; | 724 | return 0; |
725 | } | 725 | } |
726 | 726 | ||
727 | static int __devinit qpti_register_irq(struct qlogicpti *qpti) | 727 | static int qpti_register_irq(struct qlogicpti *qpti) |
728 | { | 728 | { |
729 | struct platform_device *op = qpti->op; | 729 | struct platform_device *op = qpti->op; |
730 | 730 | ||
@@ -749,7 +749,7 @@ fail: | |||
749 | return -1; | 749 | return -1; |
750 | } | 750 | } |
751 | 751 | ||
752 | static void __devinit qpti_get_scsi_id(struct qlogicpti *qpti) | 752 | static void qpti_get_scsi_id(struct qlogicpti *qpti) |
753 | { | 753 | { |
754 | struct platform_device *op = qpti->op; | 754 | struct platform_device *op = qpti->op; |
755 | struct device_node *dp; | 755 | struct device_node *dp; |
@@ -803,7 +803,7 @@ static void qpti_get_clock(struct qlogicpti *qpti) | |||
803 | /* The request and response queues must each be aligned | 803 | /* The request and response queues must each be aligned |
804 | * on a page boundary. | 804 | * on a page boundary. |
805 | */ | 805 | */ |
806 | static int __devinit qpti_map_queues(struct qlogicpti *qpti) | 806 | static int qpti_map_queues(struct qlogicpti *qpti) |
807 | { | 807 | { |
808 | struct platform_device *op = qpti->op; | 808 | struct platform_device *op = qpti->op; |
809 | 809 | ||
@@ -1292,7 +1292,7 @@ static struct scsi_host_template qpti_template = { | |||
1292 | }; | 1292 | }; |
1293 | 1293 | ||
1294 | static const struct of_device_id qpti_match[]; | 1294 | static const struct of_device_id qpti_match[]; |
1295 | static int __devinit qpti_sbus_probe(struct platform_device *op) | 1295 | static int qpti_sbus_probe(struct platform_device *op) |
1296 | { | 1296 | { |
1297 | struct device_node *dp = op->dev.of_node; | 1297 | struct device_node *dp = op->dev.of_node; |
1298 | struct Scsi_Host *host; | 1298 | struct Scsi_Host *host; |
@@ -1402,7 +1402,7 @@ fail_unlink: | |||
1402 | return -ENODEV; | 1402 | return -ENODEV; |
1403 | } | 1403 | } |
1404 | 1404 | ||
1405 | static int __devexit qpti_sbus_remove(struct platform_device *op) | 1405 | static int qpti_sbus_remove(struct platform_device *op) |
1406 | { | 1406 | { |
1407 | struct qlogicpti *qpti = dev_get_drvdata(&op->dev); | 1407 | struct qlogicpti *qpti = dev_get_drvdata(&op->dev); |
1408 | 1408 | ||
@@ -1459,7 +1459,7 @@ static struct platform_driver qpti_sbus_driver = { | |||
1459 | .of_match_table = qpti_match, | 1459 | .of_match_table = qpti_match, |
1460 | }, | 1460 | }, |
1461 | .probe = qpti_sbus_probe, | 1461 | .probe = qpti_sbus_probe, |
1462 | .remove = __devexit_p(qpti_sbus_remove), | 1462 | .remove = qpti_sbus_remove, |
1463 | }; | 1463 | }; |
1464 | 1464 | ||
1465 | static int __init qpti_init(void) | 1465 | static int __init qpti_init(void) |