]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: omap1: fix build when !CONFIG_OMAP_32K_TIMER
authorFelipe Balbi <balbi@ti.com>
Sun, 16 Mar 2014 16:57:55 +0000 (17:57 +0100)
committerArnd Bergmann <arnd@arndb.de>
Fri, 21 Mar 2014 17:23:33 +0000 (18:23 +0100)
commit441340834ebb0e167994ab31302c7e26136a0aee
tree1955c2e3055b471ec879cf35dfa376ce5ae4fff1
parentf3c2463c664b2d8781fa81bc5b699790538f0de5
ARM: omap1: fix build when !CONFIG_OMAP_32K_TIMER

If CONFIG_OMAP_32K_TIMER isn't enabled, we will
try to use enable_dyn_sleep which wasn't defined
anywhere.

In order to fix the problem, we always define
enable_dyn_sleep as 0 when !CONFIG_OMAP_32K_TIMER.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/mach-omap1/pm.c