ocf-linux: version bump to 20110720
[openwrt/svn-archive/archive.git] / target / linux / generic / files / crypto / ocf / rndtest.c
index 78d490a080b9486dad11f226293217ad0b998e21..7bed6a19317f5b98a304e47fc5fc535096c8c70d 100644 (file)
  */
 
 #include <linux/version.h>
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33))
-#include <generated/autoconf.h>
-#else
-#include <linux/autoconf.h>
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,38) && !defined(AUTOCONF_INCLUDED)
+#include <linux/config.h>
 #endif
 #include <linux/module.h>
 #include <linux/list.h>
 #include <linux/wait.h>
 #include <linux/time.h>
-#include <linux/version.h>
 #include <linux/unistd.h>
 #include <linux/kernel.h>
 #include <linux/string.h>