]> git.karo-electronics.de Git - linux-beck.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)
commitb8a7cf8e2b15a3abac0a9e376b6b7ed4bbb6ee8e
tree119d308942f4aad39fcfb6b8a3778242ff2dc1fb
parentf91ca05ff490421d348e27baa2363a49547dee57
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]