aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/scsi/pm8001/pm8001_hwi.c4
-rw-r--r--drivers/scsi/pm8001/pm8001_sas.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/pm8001/pm8001_hwi.c b/drivers/scsi/pm8001/pm8001_hwi.c
index 04e67a190652..10546faac58c 100644
--- a/drivers/scsi/pm8001/pm8001_hwi.c
+++ b/drivers/scsi/pm8001/pm8001_hwi.c
@@ -4492,8 +4492,8 @@ pm8001_chip_phy_start_req(struct pm8001_hba_info *pm8001_ha, u8 phy_id)
4492 * @num: the inbound queue number 4492 * @num: the inbound queue number
4493 * @phy_id: the phy id which we wanted to start up. 4493 * @phy_id: the phy id which we wanted to start up.
4494 */ 4494 */
4495int pm8001_chip_phy_stop_req(struct pm8001_hba_info *pm8001_ha, 4495static int pm8001_chip_phy_stop_req(struct pm8001_hba_info *pm8001_ha,
4496 u8 phy_id) 4496 u8 phy_id)
4497{ 4497{
4498 struct phy_stop_req payload; 4498 struct phy_stop_req payload;
4499 struct inbound_queue_table *circularQ; 4499 struct inbound_queue_table *circularQ;
diff --git a/drivers/scsi/pm8001/pm8001_sas.c b/drivers/scsi/pm8001/pm8001_sas.c
index dc33dfa8f994..ce584c31d36e 100644
--- a/drivers/scsi/pm8001/pm8001_sas.c
+++ b/drivers/scsi/pm8001/pm8001_sas.c
@@ -527,7 +527,7 @@ void pm8001_ccb_task_free(struct pm8001_hba_info *pm8001_ha,
527 * pm8001_alloc_dev - find a empty pm8001_device 527 * pm8001_alloc_dev - find a empty pm8001_device
528 * @pm8001_ha: our hba card information 528 * @pm8001_ha: our hba card information
529 */ 529 */
530struct pm8001_device *pm8001_alloc_dev(struct pm8001_hba_info *pm8001_ha) 530static struct pm8001_device *pm8001_alloc_dev(struct pm8001_hba_info *pm8001_ha)
531{ 531{
532 u32 dev; 532 u32 dev;
533 for (dev = 0; dev < PM8001_MAX_DEVICES; dev++) { 533 for (dev = 0; dev < PM8001_MAX_DEVICES; dev++) {