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>
/*
* 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;
/*
* configurable per device type for different I/O config
*/
-int xl_init_io()
+int xl_init_io(void)
{
return -1;
}