aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap1/common.h
diff options
context:
space:
mode:
authorGravatar Tony Lindgren <tony@atomide.com> 2012-10-30 10:33:24 -0700
committerGravatar Tony Lindgren <tony@atomide.com> 2012-10-31 15:37:13 -0700
commit01480bad0a91413e92077067e38e82ade78dc88a (patch)
tree4d6e0f8dd1ace3541b2979ce37a40395c2128182 /arch/arm/mach-omap1/common.h
parentARM: OMAP: Make plat-omap/i2c.c port checks local (diff)
downloadlinux-01480bad0a91413e92077067e38e82ade78dc88a.tar.gz
linux-01480bad0a91413e92077067e38e82ade78dc88a.tar.bz2
linux-01480bad0a91413e92077067e38e82ade78dc88a.zip
ARM: OMAP: Fix relative includes for shared i2c.h file
As discussed on linux-arm-kernel, we want to avoid relative includes for the arch/arm/*omap* shared code: http://www.spinics.net/lists/linux-omap/msg80520.html To fix this for the shared i2c.h, let's re-introduce a minimal plat/i2c.h. Note that drivers must not use this header as it will break build for omap2+ CONFIG_MULTIPLATFORM builds. Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap1/common.h')
-rw-r--r--arch/arm/mach-omap1/common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap1/common.h b/arch/arm/mach-omap1/common.h
index 26e19d3b7924..3d40f6ea3485 100644
--- a/arch/arm/mach-omap1/common.h
+++ b/arch/arm/mach-omap1/common.h
@@ -30,7 +30,7 @@
#include <linux/mtd/mtd.h>
#include <linux/i2c-omap.h>
-#include "../plat-omap/i2c.h"
+#include <plat/i2c.h>
#if defined(CONFIG_ARCH_OMAP730) || defined(CONFIG_ARCH_OMAP850)
void omap7xx_map_io(void);