Staging: gs_gpgaboot: Fix Bad function definition in io.c
authorMonam Agarwal <monamagarwal123@gmail.com>
Sat, 1 Mar 2014 22:47:01 +0000 (04:17 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Mar 2014 21:39:56 +0000 (13:39 -0800)
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>
drivers/staging/gs_fpgaboot/io.c

index 61f976be5899e97e650bfaa1941b689c2c97fa8b..b7be8e37b8d1c203e8174983224126a5f747172b 100644 (file)
@@ -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;
 }