packages/libs/zaptel-1.4.x/patches/350-2.6.34.patch
claudio 76e267a9ef [package] zaptel: Package for wcusb and wctdm driver
git-svn-id: svn://svn.openwrt.org/openwrt/packages@21786 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-13 13:05:59 +00:00

15 lines
515 B
Diff

Index: zaptel-1.4.12.1/kernel/zconfig.h
===================================================================
--- zaptel-1.4.12.1.orig/kernel/zconfig.h 2010-06-13 08:51:02.000000000 +0200
+++ zaptel-1.4.12.1/kernel/zconfig.h 2010-06-13 08:53:22.000000000 +0200
@@ -22,6 +22,8 @@
#include <linux/version.h>
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18)
#include <linux/config.h>
+#elif (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 33))
+#include <generated/autoconf.h>
#else
#include <linux/autoconf.h>
#endif