linux/drivers/scsi/megaraid
Baoyou Xie 2f3e77323d scsi: megaraid_sas: clean function declarations in megaraid_sas_base.c up
We get a few warnings when building kernel with W=1:
drivers/scsi/megaraid/megaraid_sas_fusion.c:281:1: warning: no previous prototype for 'megasas_free_cmds_fusion' [-Wmissing-prototypes]
drivers/scsi/megaraid/megaraid_sas_fusion.c:714:1: warning: no previous prototype for 'megasas_ioc_init_fusion' [-Wmissing-prototypes]
....

In fact, these functions are declared in
drivers/scsi/megaraid/megaraid_sas_base.c, but should be declared in a
header file, thus can be recognized in other file.

So this patch adds the declarations into
drivers/scsi/megaraid/megaraid_sas_fusion.h.

Signed-off-by: Baoyou Xie <baoyou.xie@linaro.org>
Acked-by: Sumit Saxena <sumit.saxena@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2016-09-19 11:59:32 -04:00
..
Kconfig.megaraid
Makefile
mbox_defs.h
mega_common.h
megaraid_ioctl.h
megaraid_mbox.c
megaraid_mbox.h
megaraid_mm.c
megaraid_mm.h
megaraid_sas_base.c scsi: megaraid_sas: clean function declarations in megaraid_sas_base.c up 2016-09-19 11:59:32 -04:00
megaraid_sas_fp.c
megaraid_sas_fusion.c megaraid_sas: Downgrade two success messages to info 2016-05-05 21:03:52 -04:00
megaraid_sas_fusion.h scsi: megaraid_sas: clean function declarations in megaraid_sas_base.c up 2016-09-19 11:59:32 -04:00
megaraid_sas.h