]> rtime.felk.cvut.cz Git - mcf548x/linux.git/commit
[ARM] pxa/em-x270: fix compile failure when CONFIG_APM_EMULATION=n
authorMike Rapoport <mike@compulab.co.il>
Tue, 21 Jul 2009 14:09:52 +0000 (17:09 +0300)
committerEric Miao <eric.y.miao@gmail.com>
Thu, 23 Jul 2009 02:43:40 +0000 (10:43 +0800)
commit1d3e216f1d303878d7204de94dee251bc2702175
treeebf3de25b59eea7f039c92f6fe1128dd02d4452c
parentecf763c5677faee04d47333e6ed8e9539a427770
[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 <mike@compulab.co.il>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
arch/arm/mach-pxa/em-x270.c