]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: OMAP2+: mbox: remove dependencies with soc.h
authorSuman Anna <s-anna@ti.com>
Mon, 28 Jan 2013 23:21:58 +0000 (17:21 -0600)
committerSuman Anna <s-anna@ti.com>
Tue, 11 Jun 2013 16:41:29 +0000 (11:41 -0500)
commitc76ce7feea638fe759c2de8286fc28fd0828185d
tree119d308942f4aad39fcfb6b8a3778242ff2dc1fb
parent529c8638323ec1f6754a1a198edb34f1e27be22e
ARM: OMAP2+: mbox: remove dependencies with soc.h

The OMAP mailbox platform driver code has been cleaned up to
remove the dependencies with soc.h in preparation for moving
the mailbox code to drivers folder.

The code relied on cpu_is_xxx/soc_is_xxx macros previously to
pick the the right set of mailbox devices and register with the
mailbox driver. This data is now represented in a concise format
and moved to the respective omap_hwmod data files and published
to the driver through the platform data.

Cc: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Suman Anna <s-anna@ti.com>
arch/arm/mach-omap2/devices.c
arch/arm/mach-omap2/mailbox.c
arch/arm/mach-omap2/omap_hwmod_2420_data.c
arch/arm/mach-omap2/omap_hwmod_2430_data.c
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
arch/arm/plat-omap/include/plat/mailbox.h
include/linux/platform_data/mailbox-omap.h [new file with mode: 0644]