scsi: pm8001: Mark symbols static where possible
authorBaoyou Xie <baoyou.xie@linaro.org>
Fri, 23 Sep 2016 13:54:22 +0000 (21:54 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 27 Sep 2016 01:10:45 +0000 (21:10 -0400)
commit7efa59e1608255a478dd62fc0e2e39f2563c05c2
treea984808a5431f54ca90af57217fc57d1d98e0c13
parent4bd173c30792791a6daca8c64793ec0a4ae8324f
scsi: pm8001: Mark symbols static where possible

We get 2 warnings when building kernel with W=1:
drivers/scsi/pm8001/pm8001_sas.c:530:23: warning: no previous prototype for 'pm8001_alloc_dev' [-Wmissing-prototypes]
drivers/scsi/pm8001/pm8001_hwi.c:4495:5: warning: no previous prototype for 'pm8001_chip_phy_stop_req' [-Wmissing-prototypes]

In fact, these functions are only used in the file in which they are
declared and don't need a declaration, but can be made static.  So this
patch marks these functions with 'static'.

Signed-off-by: Baoyou Xie <baoyou.xie@linaro.org>
Acked-by: Lindar Liu <lindar_liu@usish.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/pm8001/pm8001_hwi.c
drivers/scsi/pm8001/pm8001_sas.c