ARM: mxs: stub out mxs_pm_init for !CONFIG_PM
authorArnd Bergmann <arnd@arndb.de>
Mon, 3 Jun 2013 14:00:22 +0000 (16:00 +0200)
committerArnd Bergmann <arnd@arndb.de>
Mon, 24 Jun 2013 14:03:13 +0000 (16:03 +0200)
commit7a9caf59f60e55a8caf96f856713bd0ef0cc25a7
treed8d36a4dc33e712fad5c8bc2eafafa03aa48656a
parent6eed846fc2dea75e945141f6ea806823fb66a278
ARM: mxs: stub out mxs_pm_init for !CONFIG_PM

When building a kernel without CONFIG_PM, we get a link
error from referencing mxs_pm_init in the machine
descriptor. This defines a macro to NULL for that case.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/mach-mxs/pm.h