ARM: OMAP: Fix relative includes for shared i2c.h file
authorTony Lindgren <tony@atomide.com>
Tue, 30 Oct 2012 17:33:24 +0000 (10:33 -0700)
committerTony Lindgren <tony@atomide.com>
Wed, 31 Oct 2012 22:37:13 +0000 (15:37 -0700)
commit01480bad0a91413e92077067e38e82ade78dc88a
tree4d6e0f8dd1ace3541b2979ce37a40395c2128182
parentc34f7c696211e3d45ff94a34824b65aa52576bc6
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>
arch/arm/mach-omap1/common.h
arch/arm/mach-omap1/i2c.c
arch/arm/mach-omap2/i2c.h
arch/arm/plat-omap/i2c.c
arch/arm/plat-omap/include/plat/i2c.h [moved from arch/arm/plat-omap/i2c.h with 100% similarity]