OMAP4: pm.c extensions for OMAP4 support
commitb3294e2327718e9487e662d1392b36b39f07d70b
authorThara Gopinath <thara@ti.com>
Wed, 1 Sep 2010 08:14:53 +0000 (1 13:44 +0530)
committerKevin Hilman <khilman@deeprootsystems.com>
Fri, 24 Sep 2010 00:14:08 +0000 (23 17:14 -0700)
tree056294250522c5fc932041c123d5ed194718975e
parente7410cf7831c2e5106a90dac6179df5d2c9bd60e
OMAP4: pm.c extensions for OMAP4 support

OMAP4 has an iva device and a dsp devcice where as OMAP2/3
has only an iva device. In this file the iva device in the
system is registered under the name dsp_dev and the API
to retrieve the iva device is omap2_get_dsp_device.
This patch renames the dsp_dev to iva_dev, renames
omap2_get_dsp_device to omap2_get_iva_device,
registers dsp_dev for OMAP4 and adds a new API
omap4_get_dsp_device to retrieve the dep_dev.

Signed-off-by: Thara Gopinath <thara@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/mach-omap2/pm.c
arch/arm/plat-omap/include/plat/common.h