OMAP: mailbox: build device using omap_device/omap_hwmod
authorFelipe Contreras <felipe.contreras@gmail.com>
Thu, 24 Feb 2011 20:51:33 +0000 (12:51 -0800)
committerTony Lindgren <tony@atomide.com>
Thu, 24 Feb 2011 20:51:33 +0000 (12:51 -0800)
commit69dbf857c80e9697621ecb0d4323385999449663
tree7a547c4a6015148f36127fa2bf4e4fbfc86ba691
parent0f9dfdd3d76d356250595cde200efe7c07dec0a1
OMAP: mailbox: build device using omap_device/omap_hwmod

Remove static platform_device and resource data within
omap mailbox driver; use the one defined in the hwmod
database along with omap_device framework for device
build and registration.

Add device latency functions to be used, so clock can be
enabled and sysconfig is configured.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Omar Ramirez Luna <omar.ramirez@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/devices.c
arch/arm/mach-omap2/mailbox.c