staging: wilc1000: fix const cast warnings
authorArnd Bergmann <arnd@arndb.de>
Mon, 1 Jun 2015 19:06:44 +0000 (21:06 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 2 Jun 2015 04:46:05 +0000 (13:46 +0900)
commit057d1e979392141727397bc7e7eac309124a2fab
tree429d023b7b5ced24fb4a180e6aa21dcbdf20d4ba
parent83383ea33c63a622619acf2b979037ee775500dd
staging: wilc1000: fix const cast warnings

The wilc1000 driver produces a lot of warnings about invalid
casts between const and non-const variables. This reworks
the code to avoid all those warnings, by marking variables
and function arguments const.

A lot of the types use WILC_Uint8, I change them to const u8
for style reasons, as I'm touching them anyway.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/host_interface.c
drivers/staging/wilc1000/host_interface.h
drivers/staging/wilc1000/linux_mon.c
drivers/staging/wilc1000/wilc_memory.c
drivers/staging/wilc1000/wilc_memory.h
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
drivers/staging/wilc1000/wilc_wfi_cfgoperations.h