From: Arnd Bergmann Date: Mon, 1 Jun 2015 19:06:44 +0000 (+0200) Subject: staging: wilc1000: fix const cast warnings X-Git-Tag: omap-for-v4.3/legacy-v2-signed~121^2~372 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=057d1e979392141727397bc7e7eac309124a2fab;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed