There shouldn't be any dependency on the definitions generated by autoconf.h, besides it is automatically included by the build system. This solves the following warning: In file included from arch/arm/plat-omap/include/dspbridge/host_os.h:20, from arch/arm/mach-omap2/io.c:51: include/linux/autoconf.h:165:1: warning: "CONFIG_DEFAULT_IOSCHED" redefined In file included from <command-line>:0: ./include/generated/autoconf.h:172:1: warning: this is the location of the previous definition Signed-off-by: Omar Ramirez Luna <omar.ramirez@xxxxxxxxxxx> --- arch/arm/plat-omap/include/dspbridge/host_os.h | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/arch/arm/plat-omap/include/dspbridge/host_os.h b/arch/arm/plat-omap/include/dspbridge/host_os.h index 00ea285..92b12de 100644 --- a/arch/arm/plat-omap/include/dspbridge/host_os.h +++ b/arch/arm/plat-omap/include/dspbridge/host_os.h @@ -17,7 +17,6 @@ #ifndef _HOST_OS_H_ #define _HOST_OS_H_ -#include <linux/autoconf.h> #include <asm/system.h> #include <asm/atomic.h> #include <linux/semaphore.h> -- 1.6.2.4 -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html