From: Johannes Berg Date: Tue, 2 Apr 2013 09:38:46 +0000 (+0200) Subject: always use included rfkill X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e2e97add101ed02b5e316166a5b9b5a5ddab983b;p=openwrt%2Fstaging%2Fblogic.git always use included rfkill This isn't really desirable, but for now fixes build on some kernels. What we really should do is rename all the rfkill to be backport symbols, and use it only on kernels that didn't have a usable rfkill. OTOH, on new kernels one may want to use a backported rfkill if the base configuration doesn't include it? Signed-off-by: Johannes Berg --- diff --git a/compat/include/linux/rfkill.h b/compat/include/linux/rfkill.h index d615ac9f5b73..a67e13ee781d 100644 --- a/compat/include/linux/rfkill.h +++ b/compat/include/linux/rfkill.h @@ -2,31 +2,9 @@ #define __COMPAT_RFKILL_H #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,31)) - #include_next - #else - -#include - -#undef CONFIG_RFKILL -#undef CONFIG_RFKILL_INPUT -#undef CONFIG_RFKILL_LEDS - -#ifdef CONFIG_RFKILL_BACKPORT -#define CONFIG_RFKILL 1 -#endif - -#ifdef CONFIG_RFKILL_BACKPORT_INPUT -#define CONFIG_RFKILL_INPUT -#endif - -#ifdef CONFIG_RFKILL_BACKPORT_LEDS -#define CONFIG_RFKILL_LEDS -#endif - #include - #endif #endif