OMAP3: PM: Add function omap_device_find_pdev to omap_device layer
commit9af54e93eb0e9d1916e3e4e284a6eeb31f3b97cd
authorRanjith Lohithakshan <ranjithl@ti.com>
Mon, 27 Jul 2009 11:28:07 +0000 (27 16:58 +0530)
committerKevin Hilman <khilman@deeprootsystems.com>
Fri, 23 Oct 2009 18:20:10 +0000 (23 11:20 -0700)
treeb43506f2a849860fd66abac50d9f3afe3dc51337
parent6add890e2363027ced284d3fd1d298b92982ae0f
OMAP3: PM: Add function omap_device_find_pdev to omap_device layer

This patch adds a function, omap_device_find_pdev, which will get the
omap_device associated with the platform_device provided. This is currently
required by the SRF layer for setting max_dev_wakeup_lat and getting
dev_context_loss_count.

Signed-off-by: Ranjith Lohithakshan <ranjithl@ti.com>
arch/arm/plat-omap/include/plat/omap_device.h
arch/arm/plat-omap/omap_device.c