From: Mike Rapoport Date: Tue, 21 Jul 2009 14:09:52 +0000 (+0300) Subject: [ARM] pxa/em-x270: fix compile failure when CONFIG_APM_EMULATION=n X-Git-Tag: v2.6.31-rc6~40^2~7^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d3e216f1d303878d7204de94dee251bc2702175;p=pandora-kernel.git [ARM] pxa/em-x270: fix compile failure when CONFIG_APM_EMULATION=n If CONFIG_APM_EMULATION=n em-x270 build fails with linker error: arch/arm/mach-pxa/built-in.o: In function `em_x270_battery_critical': em-x270.c:(.text+0x12c0): undefined reference to `apm_queue_event' arch/arm/mach-pxa/built-in.o: In function `em_x270_battery_low': em-x270.c:(.text+0x12c8): undefined reference to `apm_queue_event' make: *** [.tmp_vmlinux1] Error 1 Fix it. Signed-off-by: Mike Rapoport Signed-off-by: Eric Miao --- Reading git-diff-tree failed