FlashPoint: fix build warning
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Wed, 16 Sep 2015 14:06:20 +0000 (19:36 +0530)
committerJames Bottomley <JBottomley@Odin.com>
Tue, 10 Nov 2015 00:32:14 +0000 (16:32 -0800)
We have been getting a warning about non ANSI function.
warning: non-ANSI function declaration of function 'FPT_SccbMgrTableInitAll'

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Acked-by: Khalid Aziz <khalid@gonehiking.org>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
drivers/scsi/FlashPoint.c

index 5c74e4c..867b864 100644 (file)
@@ -2136,7 +2136,7 @@ static unsigned char FPT_SccbMgr_bad_isr(u32 p_port, unsigned char p_card,
  *
  *---------------------------------------------------------------------*/
 
-static void FPT_SccbMgrTableInitAll()
+static void FPT_SccbMgrTableInitAll(void)
 {
        unsigned char thisCard;