diff options
Diffstat (limited to 'drivers/gpu/pvr/mmap.c')
-rw-r--r-- | drivers/gpu/pvr/mmap.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/gpu/pvr/mmap.c b/drivers/gpu/pvr/mmap.c index 6379eb0..00c8b9d 100644 --- a/drivers/gpu/pvr/mmap.c +++ b/drivers/gpu/pvr/mmap.c @@ -24,11 +24,14 @@ * ******************************************************************************/ +#include <linux/version.h> + +#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,38)) #ifndef AUTOCONF_INCLUDED - #include <linux/config.h> +#include <linux/config.h> +#endif #endif -#include <linux/version.h> #include <linux/mm.h> #include <linux/module.h> #include <linux/vmalloc.h> |