add chaos_calmer branch
[15.05/openwrt.git] / package / kernel / broadcom-wl / patches / 004-remove-pcmcia.patch
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) */
6  
7 -#if defined(CONFIG_PCMCIA) || defined(CONFIG_PCMCIA_MODULE)
8 +#if 0
9  
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 {
15  };
16  
17  /* PCMCIA attribute space access macros */
18 -#if defined(CONFIG_PCMCIA) || defined(CONFIG_PCMCIA_MODULE)
19 +#if 0
20  struct pcmcia_dev {
21         dev_link_t link;        /* PCMCIA device pointer */
22         dev_node_t node;        /* PCMCIA node structure */