You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
595 B
23 lines
595 B
![]()
15 years ago
|
--- a/driver/include/linuxver.h
|
||
|
+++ b/driver/include/linuxver.h
|
||
|
@@ -19,8 +19,10 @@
|
||
|
#include <linux/version.h>
|
||
|
#if (LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 0))
|
||
|
#include <linux/config.h>
|
||
|
-#else
|
||
|
+#elif (LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 34))
|
||
|
#include <linux/autoconf.h>
|
||
|
+#else
|
||
|
+#include <generated/autoconf.h>
|
||
|
#endif
|
||
|
#include <linux/module.h>
|
||
|
|
||
|
@@ -111,7 +113,6 @@ typedef irqreturn_t(*FN_ISR) (int irq, v
|
||
|
|
||
|
#if defined(CONFIG_PCMCIA) || defined(CONFIG_PCMCIA_MODULE)
|
||
|
|
||
|
-#include <pcmcia/version.h>
|
||
|
#include <pcmcia/cs_types.h>
|
||
|
#include <pcmcia/cs.h>
|
||
|
#include <pcmcia/cistpl.h>
|