diff options
author | Chandra S Gorentla <csgorentla@gmail.com> | 2015-08-05 22:11:55 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-08-05 12:15:38 -0700 |
commit | a96c47e1978a874e87e7fea3ebb178eaf8730d46 (patch) | |
tree | 8b5199c29bb527d6869d92461b783e84151810f8 /drivers/staging/wilc1000/linux_mon.c | |
parent | 1913221c0e3025a93c3c106ec0167f8240df4d35 (diff) | |
download | op-kernel-dev-a96c47e1978a874e87e7fea3ebb178eaf8730d46.zip op-kernel-dev-a96c47e1978a874e87e7fea3ebb178eaf8730d46.tar.gz |
drivers: staging: wilc1000: use 'void' for no arguments functions
Added 'void' keyword in the paranthesis of function definitions, when
there are no arguments to the functions. This fixes the checkpatch.pl
error - "Bad function definition 'function()' should probably be
function(void)".
Signed-off-by: Chandra S Gorentla <csgorentla@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000/linux_mon.c')
-rw-r--r-- | drivers/staging/wilc1000/linux_mon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/wilc1000/linux_mon.c b/drivers/staging/wilc1000/linux_mon.c index aa20421..123468a 100644 --- a/drivers/staging/wilc1000/linux_mon.c +++ b/drivers/staging/wilc1000/linux_mon.c @@ -558,7 +558,7 @@ struct net_device *WILC_WFI_init_mon_interface(const char *name, struct net_devi * @date 12 JUL 2012 * @version 1.0 */ -int WILC_WFI_deinit_mon_interface() +int WILC_WFI_deinit_mon_interface(void) { bool rollback_lock = false; |