ARM: OMAP2+: omap_device: expose hwmod assert/deassert to omap devices
authorOmar Ramirez Luna <omar.luna@linaro.org>
Sun, 23 Sep 2012 23:28:18 +0000 (17:28 -0600)
committerPaul Walmsley <paul@pwsan.com>
Sun, 23 Sep 2012 23:28:18 +0000 (17:28 -0600)
commit8bb9fde2396b6cd205f404ef6d2aa46eb5b0af26
tree9a37e501469a889b262fafae0f0db0b5d49a2ab0
parentc9e49024edba46463479d2830b3f36bcceb60ea9
ARM: OMAP2+: omap_device: expose hwmod assert/deassert to omap devices

This API is meant to be an interface to hwmod assert/deassert
function, omap devices can call them through their platform data to
control their reset lines, they are expected to know the name of the
reset line they are trying to control.

Signed-off-by: Omar Ramirez Luna <omar.luna@linaro.org>
[paul@pwsan.com: tweaked some documentation; fixed CodingStyle issue]
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/plat-omap/include/plat/omap_device.h
arch/arm/plat-omap/omap_device.c