diff options
author | Stefan Schmidt <stefan@datenfreihafen.org> | 2010-02-16 22:42:55 +0100 |
---|---|---|
committer | Eric Miao <eric.y.miao@gmail.com> | 2010-03-02 00:40:52 +0100 |
commit | 98acdbe4cf83f5a2e21c7aac830146b5d6da9282 (patch) | |
tree | d5200b21c99bd57d4e1464655e1605f11f6a4efe /sound/i2c | |
parent | [ARM] pxa: enable check_scoop_reg() only if CONFIG_PM is set. (diff) | |
download | linux-98acdbe4cf83f5a2e21c7aac830146b5d6da9282.tar.xz linux-98acdbe4cf83f5a2e21c7aac830146b5d6da9282.zip |
[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 <stefan@datenfreihafen.org>
Acked-by: Marc Zyngier <maz@misterjones.org>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
Diffstat (limited to 'sound/i2c')
0 files changed, 0 insertions, 0 deletions