[RFC PATCH] scsi: hisi_sas: hisi_sas_find_dev_phyno() can be static

kbuild test robot
2015-10-12T23:02:47Z

Signed-off-by: Fengguang Wu <fengguang.wu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
---
hisi_sas_main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/scsi/hisi_sas/hisi_sas_main.c b/drivers/scsi/hisi_sas/hisi_sas_main.c
index 12af29c..a01e8c0 100644
--- a/drivers/scsi/hisi_sas/hisi_sas_main.c
+++ b/drivers/scsi/hisi_sas/hisi_sas_main.c
@@ -612,7 +612,7 @@ int hisi_sas_dev_found(struct domain_device *device)
return hisi_sas_dev_found_notify(device, 1);
}

-int hisi_sas_find_dev_phyno(struct domain_device *device, int *phyno)
+static int hisi_sas_find_dev_phyno(struct domain_device *device, int *phyno)
{
int i = 0, j = 0, num = 0, n = 0;
struct sas_ha_struct *sha = device->port->ha;
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html