mac80211: update to compat-wireless 2010-01-07 (unoffical snapshot, official ones...
[openwrt/svn-archive/archive.git] / package / mac80211 / patches / 021-fix_missing_ifdefs.patch
1 --- a/compat/compat-2.6.33.c
2 +++ b/compat/compat-2.6.33.c
3 @@ -12,6 +12,7 @@
4
5 #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,33))
6
7 +#ifdef CONFIG_PCCARD
8
9 /**
10 * pccard_loop_tuple() - loop over tuples in the CIS
11 @@ -125,6 +126,7 @@ int pcmcia_loop_tuple(struct pcmcia_devi
12 EXPORT_SYMBOL(pcmcia_loop_tuple);
13 /* Source: drivers/pcmcia/pcmcia_resource.c */
14
15 +#endif
16
17 #endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,33)) */
18