aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/i2c.h
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2012-10-30 13:33:24 -0400
committerTony Lindgren <tony@atomide.com>2012-10-31 18:37:13 -0400
commit01480bad0a91413e92077067e38e82ade78dc88a (patch)
tree4d6e0f8dd1ace3541b2979ce37a40395c2128182 /arch/arm/mach-omap2/i2c.h
parentc34f7c696211e3d45ff94a34824b65aa52576bc6 (diff)
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-omap2/i2c.h')
-rw-r--r--arch/arm/mach-omap2/i2c.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/i2c.h b/arch/arm/mach-omap2/i2c.h
index 81dbb992a6bc..42b6f2e7d190 100644
--- a/arch/arm/mach-omap2/i2c.h
+++ b/arch/arm/mach-omap2/i2c.h
@@ -19,7 +19,7 @@
19 * 19 *
20 */ 20 */
21 21
22#include "../plat-omap/i2c.h" 22#include <plat/i2c.h>
23 23
24#ifndef __MACH_OMAP2_I2C_H 24#ifndef __MACH_OMAP2_I2C_H
25#define __MACH_OMAP2_I2C_H 25#define __MACH_OMAP2_I2C_H