338b1c66fffadaa11da6d0bc6ab4b6161b85d2f5
[openwrt/svn-archive/archive.git] / package / acx / patches / 007-2.6.33_fixes.patch
1 --- a/pci.c
2 +++ b/pci.c
3 @@ -35,8 +35,12 @@
4
5 /* Linux 2.6.18+ uses <linux/utsrelease.h> */
6 #ifndef UTS_RELEASE
7 +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33))
8 +#include <generated/utsrelease.h>
9 +#else
10 #include <linux/utsrelease.h>
11 #endif
12 +#endif
13
14 #include <linux/compiler.h> /* required for Lx 2.6.8 ?? */
15 #include <linux/kernel.h>