004-remove-pcmcia.patch 660 B

12345678910111213141516171819202122
  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. -#if defined(CONFIG_PCMCIA) || defined(CONFIG_PCMCIA_MODULE)
  7. +#if 0
  8. #include <pcmcia/cs_types.h>
  9. #include <pcmcia/cs.h>
  10. --- a/driver/linux_osl.c
  11. +++ b/driver/linux_osl.c
  12. @@ -62,7 +62,7 @@ struct osl_info {
  13. };
  14. /* PCMCIA attribute space access macros */
  15. -#if defined(CONFIG_PCMCIA) || defined(CONFIG_PCMCIA_MODULE)
  16. +#if 0
  17. struct pcmcia_dev {
  18. dev_link_t link; /* PCMCIA device pointer */
  19. dev_node_t node; /* PCMCIA node structure */