aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/021-fix_missing_ifdefs.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-01-07 19:15:05 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-01-07 19:15:05 +0000
commitfe32f100a8cd9fd6f65d74632a0cdc9fb57c2dd9 (patch)
treebf23be761a1a1f263cc95903ce34be26489fdc03 /package/mac80211/patches/021-fix_missing_ifdefs.patch
parentc97341b7614c25b30f19856e300718114ab1435f (diff)
downloadupstream-fe32f100a8cd9fd6f65d74632a0cdc9fb57c2dd9.tar.gz
upstream-fe32f100a8cd9fd6f65d74632a0cdc9fb57c2dd9.tar.bz2
upstream-fe32f100a8cd9fd6f65d74632a0cdc9fb57c2dd9.zip
mac80211: update to compat-wireless 2010-01-07 (unoffical snapshot, official ones are not working yet)
SVN-Revision: 19063
Diffstat (limited to 'package/mac80211/patches/021-fix_missing_ifdefs.patch')
-rw-r--r--package/mac80211/patches/021-fix_missing_ifdefs.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/package/mac80211/patches/021-fix_missing_ifdefs.patch b/package/mac80211/patches/021-fix_missing_ifdefs.patch
new file mode 100644
index 0000000000..2c838ebac5
--- /dev/null
+++ b/package/mac80211/patches/021-fix_missing_ifdefs.patch
@@ -0,0 +1,18 @@
+--- a/compat/compat-2.6.33.c
++++ b/compat/compat-2.6.33.c
+@@ -12,6 +12,7 @@
+
+ #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,33))
+
++#ifdef CONFIG_PCCARD
+
+ /**
+ * pccard_loop_tuple() - loop over tuples in the CIS
+@@ -125,6 +126,7 @@ int pcmcia_loop_tuple(struct pcmcia_devi
+ EXPORT_SYMBOL(pcmcia_loop_tuple);
+ /* Source: drivers/pcmcia/pcmcia_resource.c */
+
++#endif
+
+ #endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,33)) */
+