diff options
Diffstat (limited to 'app-laptop/acerhk/files/kernel-2.6.19-config.h.patch')
-rw-r--r-- | app-laptop/acerhk/files/kernel-2.6.19-config.h.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/app-laptop/acerhk/files/kernel-2.6.19-config.h.patch b/app-laptop/acerhk/files/kernel-2.6.19-config.h.patch new file mode 100644 index 000000000000..747d2028ba4e --- /dev/null +++ b/app-laptop/acerhk/files/kernel-2.6.19-config.h.patch @@ -0,0 +1,26 @@ +--- acerhk/acerhk.c 2006-10-22 23:14:47.000000000 +0200 ++++ acerhk/acerhk.c 2006-10-22 23:15:05.000000000 +0200 +@@ -35,15 +35,20 @@ + * + */ + ++#ifdef CONFIG_X86 ++ ++#include <linux/version.h> ++ ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,19) ++#include <linux/autoconf.h> ++#else + #include <linux/config.h> ++#endif + + /* This driver is heavily dependent on the architecture, don't let anyone + * without an X86 machine use it. I doubt that there are laptops out there + * which would need this driver and are not X86, so it doesn't matter anyway. + */ +-#ifdef CONFIG_X86 +- +-#include <linux/version.h> + + #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0) + #define KERNEL26 |