diff options
author | Baoyou Xie <baoyou.xie@linaro.org> | 2016-08-30 19:26:00 +0800 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-08-31 00:28:32 -0400 |
commit | d67e8b385fac90c100fb65b9534616769cd3f9b8 (patch) | |
tree | d44d7db0b1664ae371dea81ab4adebf138f5425f /drivers/scsi/qla4xxx/ql4_nx.c | |
parent | ee6a8773cfadc1383a6b6ea4e52c0d93ebdf292a (diff) | |
download | linux-stable-d67e8b385fac90c100fb65b9534616769cd3f9b8.tar.gz linux-stable-d67e8b385fac90c100fb65b9534616769cd3f9b8.tar.bz2 linux-stable-d67e8b385fac90c100fb65b9534616769cd3f9b8.zip |
scsi: move function declarations to scsi_priv.h
We get 2 warnings about global functions without a declaration in the
scsi driver when building with W=1:
drivers/scsi/scsi_lib.c:467:6: warning: no previous prototype for 'scsi_requeue_run_queue' [-Wmissing-prototypes]
drivers/scsi/scsi_lib.c:2609:6: warning: no previous prototype for 'scsi_evt_thread' [-Wmissing-prototypes]
In fact, both functions are declared in drivers/scsi/scsi_scan.c but
need to move them into scsi_priv.h.
Signed-off-by: Baoyou Xie <baoyou.xie@linaro.org>
Reviewed-by: Bart Van Assche <bart.vanassche@sandisk.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/qla4xxx/ql4_nx.c')
0 files changed, 0 insertions, 0 deletions