1 --- a/driver/include/linuxver.h
2 +++ b/driver/include/linuxver.h
3 @@ -111,7 +111,7 @@ typedef irqreturn_t(*FN_ISR) (int irq, v
4 #endif /* not SANDGATE2G */
5 #endif /* LINUX_VERSION_CODE >= KERNEL_VERSION(2, 5, 67) */
7 -#if defined(CONFIG_PCMCIA) || defined(CONFIG_PCMCIA_MODULE)
10 #include <pcmcia/cs_types.h>
11 #include <pcmcia/cs.h>
12 --- a/driver/linux_osl.c
13 +++ b/driver/linux_osl.c
14 @@ -62,7 +62,7 @@ struct osl_info {
17 /* PCMCIA attribute space access macros */
18 -#if defined(CONFIG_PCMCIA) || defined(CONFIG_PCMCIA_MODULE)
21 dev_link_t link; /* PCMCIA device pointer */
22 dev_node_t node; /* PCMCIA node structure */