[PATCH 11/11] ARM: OMAP1: Remove relative includes

Tony Lindgren tony at atomide.com
Wed Oct 31 17:11:38 EDT 2012

* Tony Lindgren <tony at atomide.com> [121030 16:55]:
> As discussed on linux-arm-kernel, we want to avoid
> relative includes for the arch/arm/*omap* code:
> http://www.spinics.net/lists/linux-omap/msg80520.html
> Note that eventually when the omap1 specific drivers
> are fixed to not use cpu_is_omap macros and not depend
> on mach/hardware.h, this patch can be reverted and these
> headers can be local. But since just fixing the drivers for
> omap2+ is already a big enough hassle, let's deal
> with that properly first.

Forgot to change plat/cpu.h in this patch, will fold it
into this patch as below.



--- a/arch/arm/plat-omap/include/plat/cpu.h
+++ b/arch/arm/plat-omap/include/plat/cpu.h
@@ -29,7 +29,7 @@
 #define __ASM_ARCH_OMAP_CPU_H
-#include "../../mach-omap1/soc.h"
+#include <mach/soc.h>

More information about the linux-arm-kernel mailing list