OMAP clockdomain/powerdomain: optimize out sleepdep code on OMAP24xx
authorPaul Walmsley <paul@pwsan.com>
Tue, 8 Dec 2009 23:33:11 +0000 (16:33 -0700)
committerpaul <paul@twilight.(none)>
Sat, 12 Dec 2009 00:00:41 +0000 (17:00 -0700)
commit6a06fa6863f190a0ed72f273a2ae5fedc89973ff
tree52a7ce94322be3024d3289542316f562505baa92
parent33903eb55ae2a7f7cd980da619ae63d93c6530f3
OMAP clockdomain/powerdomain: optimize out sleepdep code on OMAP24xx

OMAP24xx chips don't support software-configurable sleep dependencies.
Test early for this so the compiler can redact the entire function body
on OMAP24xx.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/powerdomain.c