scsi: aacraid: mark aac_src_select_comm() static
authorBaoyou Xie <baoyou.xie@linaro.org>
Sun, 4 Sep 2016 06:47:10 +0000 (14:47 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 9 Sep 2016 11:08:38 +0000 (07:08 -0400)
commita44199eee7fdd2791b39da88938e6de6f5058632
tree7371f62c46ad74083c01684e89c802aaa2c021f6
parent393c8019e9ce1884f232e2d37761c61796e22095
scsi: aacraid: mark aac_src_select_comm() static

We get 1 warning when building kernel with W=1:
drivers/scsi/aacraid/src.c:616:5: warning: no previous prototype for 'aac_src_select_comm' [-Wmissing-prototypes]

In fact, this function is only used in the file in which it is declared
and don't need a declaration, but can be made static.  so this patch
marks this function with 'static'.

Signed-off-by: Baoyou Xie <baoyou.xie@linaro.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Dave Carroll <david.carroll@microsemi.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/aacraid/src.c