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);
5 #endif /* CONFIG_USB */
7 -#if defined(CONFIG_PCMCIA) || defined(CONFIG_PCMCIA_MODULE)
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
16 #include <linux/autoconf.h>
18 -#if defined(CONFIG_PCCARD) || defined(CONFIG_PCCARD_MODULE)
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 */
27 -#if defined(CONFIG_PCMCIA) || defined(CONFIG_PCMCIA_MODULE)
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
36 #endif /* From include/asm-generic/bug.h */
38 -#if defined(CONFIG_PCMCIA) || defined(CONFIG_PCMCIA_MODULE)
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
46 #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,33))
48 #include <linux/skbuff.h>
49 -#if defined(CONFIG_PCCARD) || defined(CONFIG_PCCARD_MODULE)
50 -#if defined(CONFIG_PCMCIA) || defined(CONFIG_PCMCIA_MODULE)
53 #include <pcmcia/cs_types.h>
54 #include <pcmcia/cistpl.h>
55 #include <pcmcia/ds.h>
56 @@ -70,9 +70,9 @@ static inline struct sk_buff *netdev_all
60 -#if defined(CONFIG_PCCARD) || defined(CONFIG_PCCARD_MODULE)
63 -#if defined(CONFIG_PCMCIA) || defined(CONFIG_PCMCIA_MODULE)
66 #define pcmcia_request_window(a, b, c) pcmcia_request_window(&a, b, c)