]> git.karo-electronics.de Git - linux-beck.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)
commit84bef11710d14990f8c1213058c17d85b2ec432b
tree1955c2e3055b471ec879cf35dfa376ce5ae4fff1
parentb25a7912eb66f6abe97686fa4ada9ba838df0358
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