OMAP2: PM: fix compile error when !CONFIG_SUSPEND
commit05fad3e72e98e57274b8930a08f8b476048f5022
authorKevin Hilman <khilman@deeprootsystems.com>
Wed, 22 Dec 2010 23:04:17 +0000 (22 23:04 +0000)
committerTony Lindgren <tony@atomide.com>
Wed, 22 Dec 2010 23:13:39 +0000 (22 15:13 -0800)
tree5ba5d745e5a975ed4a55bb6252c8471c20baaeea
parent1c4655651f1377297425525b250b2e4b5462015b
OMAP2: PM: fix compile error when !CONFIG_SUSPEND

When CONFIG_SUSPEND is not enabled, none of the system PM methods are
used, so do not compile them in.

Thanks to Charles Manning for reporting the problem and proposing
an initial patch.

Reported-by: Charles Manning <manningc2@actrix.gen.nz>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/pm24xx.c