]> git.baikalelectronics.ru Git - kernel.git/commit
ath5k: use bool type for no_hw_rfkill_switch module parameter
authorJohn W. Linville <linville@tuxdriver.com>
Tue, 24 Jan 2012 19:58:47 +0000 (14:58 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 24 Jan 2012 19:58:47 +0000 (14:58 -0500)
commit401fc7399ae1c4d8bbbe1ddc2a2e02fcaec9b9fb
tree48b0c3cb7c3ef233887a2baebeb4c037660686e8
parent92528263677e9041c5942d7d386d07a8b21d21a3
ath5k: use bool type for no_hw_rfkill_switch module parameter

Avoids this:

  CC [M]  drivers/net/wireless/ath/ath5k/base.o
drivers/net/wireless/ath/ath5k/base.c: In function ‘__check_no_hw_rfkill_switch’:
drivers/net/wireless/ath/ath5k/base.c:85:1: warning: return from incompatible pointer type

Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/base.c