Add few missing rfkill backport defines
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Fri, 17 Jul 2009 15:31:48 +0000 (08:31 -0700)
committerLuis R. Rodriguez <lrodriguez@atheros.com>
Fri, 17 Jul 2009 15:31:48 +0000 (08:31 -0700)
These symbols are probably not exported on older kernels
but since we are backporting our own rfkill module
lets be consistent and prepend backport_ to all
exported RFKILL symbols when on older kernels (< 2.6.31).

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
compat/compat-2.6.31.h

index 76076485858e58aa0435d288b933423674693b71..e4c75bc8e26c38c22244c983c09d0f2e34309b6b 100644 (file)
  */
 #define rfkill_get_led_trigger_name    backport_rfkill_get_led_trigger_name
 #define rfkill_set_led_trigger_name    backport_rfkill_set_led_trigger_name
-
 #define rfkill_set_hw_state    backport_rfkill_set_hw_state
+#define rfkill_set_sw_state    backport_rfkill_set_sw_state
+#define rfkill_init_sw_state   backport_rfkill_init_sw_state
+#define rfkill_set_states      backport_rfkill_set_states
 #define rfkill_pause_polling   backport_rfkill_pause_polling
 #define rfkill_resume_polling  backport_rfkill_resume_polling
 #define rfkill_blocked         backport_rfkill_blocked
@@ -29,7 +31,6 @@
 #define rfkill_unregister      backport_rfkill_unregister
 #define rfkill_destroy         backport_rfkill_destroy
 
-
 #ifndef ERFKILL
 #if !defined(CONFIG_ALPHA) && !defined(CONFIG_MIPS) && !defined(CONFIG_PARISC) && !defined(CONFIG_SPARC)
 #define ERFKILL                132     /* Operation not possible due to RF-kill */