Fix compilation when RFKILL_LED is enabled
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Wed, 15 Jul 2009 22:18:12 +0000 (15:18 -0700)
committerLuis R. Rodriguez <lrodriguez@atheros.com>
Wed, 15 Jul 2009 22:18:12 +0000 (15:18 -0700)
Think this should do it, not tested.

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

index d8605f68496b336fb2544e264792cb95055f1a23..bcbf5259afed80e33ac19af9795716275fc67802 100644 (file)
@@ -27,6 +27,9 @@
 #define rfkill_set_hw_state    backport_rfkill_set_hw_state
 #define rfkill_blocked         backport_rfkill_blocked
 
+#define rfkill_get_led_trigger_name    backport_rfkill_get_led_trigger_name
+#define rfkill_set_led_trigger_name    backport_rfkill_set_led_trigger_name
+
 #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 */