aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2009-03-30 05:32:46 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-04-22 16:54:27 -0400
commitc1c6b14b22af0f85d05a70405dc3fba5de840c7b (patch)
treef60031dacc62cbab1212856230ce933559b6ea05 /arch
parentf4a11bb0c2d5968ea35f95bdbabdd453862f202a (diff)
rfkill: remove deprecated state constants
I only did superficial review, but these constants are stupid to have and without proper warnings nobody will review the code anyway, no amount of shouting will help. Also fix wimax to use correct states. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-pxa/tosa-bt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-pxa/tosa-bt.c b/arch/arm/mach-pxa/tosa-bt.c
index fb0294bd4310..bde42aa29374 100644
--- a/arch/arm/mach-pxa/tosa-bt.c
+++ b/arch/arm/mach-pxa/tosa-bt.c
@@ -38,9 +38,9 @@ static void tosa_bt_off(struct tosa_bt_data *data)
38static int tosa_bt_toggle_radio(void *data, enum rfkill_state state) 38static int tosa_bt_toggle_radio(void *data, enum rfkill_state state)
39{ 39{
40 pr_info("BT_RADIO going: %s\n", 40 pr_info("BT_RADIO going: %s\n",
41 state == RFKILL_STATE_ON ? "on" : "off"); 41 state == RFKILL_STATE_UNBLOCKED ? "on" : "off");
42 42
43 if (state == RFKILL_STATE_ON) { 43 if (state == RFKILL_STATE_UNBLOCKED) {
44 pr_info("TOSA_BT: going ON\n"); 44 pr_info("TOSA_BT: going ON\n");
45 tosa_bt_on(data); 45 tosa_bt_on(data);
46 } else { 46 } else {