1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-24 22:35:11 +02:00
openwrt-xburst/package/mac80211/patches/021-fix_missing_ifdefs.patch
nbd c3a643f552 mac80211: update to compat-wireless 2010-01-07 (unoffical snapshot, official ones are not working yet)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19063 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-07 19:15:05 +00:00

19 lines
432 B
Diff

--- 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)) */