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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 5 Oct 2013 14:13:12 +0000 (07:13 -0700)
commit37482f9cfb0269e082a817f31ad2a5f0204163f9
treeb8d1eebb01bf019b364430ae0b253588db0e938e
parentddcca42fb47e59b1655d866b364c3dac4ba3f135
ARM: mxs: stub out mxs_pm_init for !CONFIG_PM

commit 7a9caf59f60e55a8caf96f856713bd0ef0cc25a7 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/mach-mxs/pm.h