diff options
author | Tony Lindgren <tony@atomide.com> | 2012-10-30 17:33:24 (GMT) |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2012-10-31 22:37:13 (GMT) |
commit | 01480bad0a91413e92077067e38e82ade78dc88a (patch) | |
tree | 4d6e0f8dd1ace3541b2979ce37a40395c2128182 /arch/arm/plat-omap | |
parent | c34f7c696211e3d45ff94a34824b65aa52576bc6 (diff) | |
download | linux-fsl-qoriq-01480bad0a91413e92077067e38e82ade78dc88a.tar.xz |
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/plat-omap')
-rw-r--r-- | arch/arm/plat-omap/i2c.c | 4 | ||||
-rw-r--r-- | arch/arm/plat-omap/include/plat/i2c.h (renamed from arch/arm/plat-omap/i2c.h) | 0 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/plat-omap/i2c.c b/arch/arm/plat-omap/i2c.c index d094273..4645dd4 100644 --- a/arch/arm/plat-omap/i2c.c +++ b/arch/arm/plat-omap/i2c.c @@ -31,9 +31,9 @@ #include <linux/err.h> #include <linux/clk.h> -#include <mach/irqs.h> +#include <plat/i2c.h> -#include "i2c.h" +#include <mach/irqs.h> #define OMAP_I2C_MAX_CONTROLLERS 4 static struct omap_i2c_bus_platform_data i2c_pdata[OMAP_I2C_MAX_CONTROLLERS]; diff --git a/arch/arm/plat-omap/i2c.h b/arch/arm/plat-omap/include/plat/i2c.h index 7a9028c..7a9028c 100644 --- a/arch/arm/plat-omap/i2c.h +++ b/arch/arm/plat-omap/include/plat/i2c.h |