瀏覽代碼

Staging: gs_gpgaboot: Fix Bad function definition in io.c

This patch fixes the following checkpatch.pl issues in io.c
WARNING: Bad function definition

Signed-off-by: Monam Agarwal <monamagarwal123@gmail.com>
Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Monam Agarwal 11 年之前
父節點
當前提交
7e41d9c341
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      drivers/staging/gs_fpgaboot/io.c

+ 2 - 2
drivers/staging/gs_fpgaboot/io.c

@@ -211,7 +211,7 @@ static inline void byte1_out(unsigned char data)
 /*
  * configurable per device type for different I/O config
  */
-int xl_init_io()
+int xl_init_io(void)
 {
 	struct device_node *np;
 	const u32 *p_reg;
@@ -286,7 +286,7 @@ static inline void xl_cclk_b(int32_t i)
 /*
  * configurable per device type for different I/O config
  */
-int xl_init_io()
+int xl_init_io(void)
 {
 	return -1;
 }