瀏覽代碼

FlashPoint: fix build warning

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>
Sudip Mukherjee 10 年之前
父節點
當前提交
cd9d715c28
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/scsi/FlashPoint.c

+ 1 - 1
drivers/scsi/FlashPoint.c

@@ -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;