iwlwifi: fix compile warning
authorJohannes Berg <johannes.berg@intel.com>
Sat, 31 Jul 2010 15:34:09 +0000 (08:34 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 4 Aug 2010 19:27:37 +0000 (15:27 -0400)
commit5fc97f7789e6ff3d1698a544f863b55dba9d9cd9
tree489442529a59f8e782616e15afa55d0ec6852594
parent4254bc1c4d7b53ac10e558dfe015725fdd693da4
iwlwifi: fix compile warning

When iwlwifi is compiled w/o debug, we get
this warning:
iwl-agn.c: In function ‘iwlagn_load_firmware’:
iwl-agn.c:2014: warning: passing argument 3 of ‘iwl_print_hex_dump’ discards qualifiers from pointer target type
iwl-debug.h:73: note: expected ‘void *’ but argument is of type ‘const u8 *’

because the const qualifier is missing in the
inline stub. Fix this.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-debug.h