From: Stefan Schmidt Date: Tue, 16 Feb 2010 21:42:55 +0000 (+0100) Subject: [ARM] pxa: define zeus_power_off() only when CONFIG_PM enabled X-Git-Tag: v2.6.34-rc2~66^2~32 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=98acdbe4cf83f5a2e21c7aac830146b5d6da9282;p=pandora-kernel.git [ARM] pxa: define zeus_power_off() only when CONFIG_PM enabled Add some safety check for CONFIG_PM around zeus_power_off(). Without it linking can fail like this: arch/arm/mach-pxa/built-in.o: In function `zeus_power_off': e800.c:(.text+0x2bc8): undefined reference to `pxa27x_cpu_suspend' Signed-off-by: Stefan Schmidt Acked-by: Marc Zyngier Signed-off-by: Eric Miao --- Reading git-diff-tree failed