ext4: fix for commit r19799
[openwrt.git] / package / mac80211 / patches / 100-disable_pcmcia_compat.patch
1 --- a/compat/compat-2.6.28.c
2 +++ b/compat/compat-2.6.28.c
3 @@ -87,7 +87,7 @@ EXPORT_SYMBOL_GPL(usb_poison_urb);
4 #endif
5 #endif /* CONFIG_USB */
6
7 -#if defined(CONFIG_PCMCIA) || defined(CONFIG_PCMCIA_MODULE)
8 +#if 0
9
10 #include <pcmcia/ds.h>
11 struct pcmcia_cfg_mem {
12 --- a/compat/compat-2.6.33.c
13 +++ b/compat/compat-2.6.33.c
14 @@ -14,7 +14,7 @@
15
16 #include <linux/autoconf.h>
17
18 -#if defined(CONFIG_PCCARD) || defined(CONFIG_PCCARD_MODULE)
19 +#if 0
20
21 /**
22 * pccard_loop_tuple() - loop over tuples in the CIS
23 @@ -76,7 +76,7 @@ next_entry:
24 EXPORT_SYMBOL(pccard_loop_tuple);
25 /* Source: drivers/pcmcia/cistpl.c */
26
27 -#if defined(CONFIG_PCMCIA) || defined(CONFIG_PCMCIA_MODULE)
28 +#if 0
29
30 struct pcmcia_loop_mem {
31 struct pcmcia_device *p_dev;
32 --- a/include/linux/compat-2.6.28.h
33 +++ b/include/linux/compat-2.6.28.h
34 @@ -27,7 +27,7 @@
35 })
36 #endif /* From include/asm-generic/bug.h */
37
38 -#if defined(CONFIG_PCMCIA) || defined(CONFIG_PCMCIA_MODULE)
39 +#if 0
40
41 #include <pcmcia/cs_types.h>
42 #include <pcmcia/cs.h>
43 --- a/include/linux/compat-2.6.33.h
44 +++ b/include/linux/compat-2.6.33.h
45 @@ -6,8 +6,8 @@
46 #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,33))
47
48 #include <linux/skbuff.h>
49 -#if defined(CONFIG_PCCARD) || defined(CONFIG_PCCARD_MODULE)
50 -#if defined(CONFIG_PCMCIA) || defined(CONFIG_PCMCIA_MODULE)
51 +#if 0
52 +#if 0
53 #include <pcmcia/cs_types.h>
54 #include <pcmcia/cistpl.h>
55 #include <pcmcia/ds.h>
56 @@ -68,9 +68,9 @@ static inline struct sk_buff *netdev_all
57 return skb;
58 }
59
60 -#if defined(CONFIG_PCCARD) || defined(CONFIG_PCCARD_MODULE)
61 +#if 0
62
63 -#if defined(CONFIG_PCMCIA) || defined(CONFIG_PCMCIA_MODULE)
64 +#if 0
65
66 #define pcmcia_request_window(a, b, c) pcmcia_request_window(&a, b, c)
67
This page took 0.044152 seconds and 5 git commands to generate.