]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - rpmsg/rpmsg.git/commit
ARM: OMAP: Move plat/i2c.h into mach-omap1 folder
authorSuman Anna <s-anna@ti.com>
Tue, 13 Feb 2018 01:32:42 +0000 (19:32 -0600)
committerTony Lindgren <tony@atomide.com>
Wed, 14 Feb 2018 18:28:13 +0000 (10:28 -0800)
commit9138f89e7bb4b83ea0722f9912b96e236ece54cb
treeb9176a698f620f8e75fdeaf8c6488de3adce9860
parent0693036ca800ab471e8f28caeb3a9ac4d77af810
ARM: OMAP: Move plat/i2c.h into mach-omap1 folder

The current contents of plat/i2c.h are only relevant for OMAP1
platforms, as all the equivalent functions for OMAP2 has been
dropped in commit 65fa3e719f36 ("ARM: OMAP2+: Remove legacy i2c.c
platform init code"), and which has also moved the left-over code
from plat-omap into mach-omap1. The hwmod is a concept only
applicable for OMAP2 platforms, and the omap_i2c_reset() is
already declared in mach-omap2/i2c.h. So, move the current
plat/i2c.h header file into the mach-omap1 folder, and adjust
the header usage accordingly.

Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap1/common.h
arch/arm/mach-omap1/i2c.c
arch/arm/mach-omap1/i2c.h [moved from arch/arm/plat-omap/include/plat/i2c.h with 90% similarity]
arch/arm/mach-omap2/i2c.h