summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMonam Agarwal <monamagarwal123@gmail.com>2014-03-02 04:17:01 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-03-07 13:39:56 -0800
commit7e41d9c3419e7608696c927b08055c7c0647e124 (patch)
treedcadb815170b520e12b26376257ae4a492652fe0
parent206654728b433c18b59d7c28a3ac67da2e28f0c3 (diff)
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>
-rw-r--r--drivers/staging/gs_fpgaboot/io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/gs_fpgaboot/io.c b/drivers/staging/gs_fpgaboot/io.c
index 61f976be5899..b7be8e37b8d1 100644
--- a/drivers/staging/gs_fpgaboot/io.c
+++ b/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;
}