summaryrefslogtreecommitdiff
path: root/board/bds
diff options
context:
space:
mode:
authorVincent Palatin <vpalatin@chromium.org>2012-03-15 20:04:40 +0000
committerVincent Palatin <vpalatin@chromium.org>2012-03-15 21:25:48 +0000
commite456584ce15701ead6af6371e050c8ab990e3d30 (patch)
tree008b12813c48aca7a72134a3f89a1c9f90df7513 /board/bds
parentc72f66c050b7754c36436583272965b9ca4fd850 (diff)
downloadchrome-ec-e456584ce15701ead6af6371e050c8ab990e3d30.tar.gz
Fix test build
Allow to build without the power button task. Signed-off-by: Vincent Palatin <vpalatin@chromium.org> BUG=None TEST=make qemu-tests Change-Id: Ibc757a6641f195f0d10e6a673792b996694f8cec
Diffstat (limited to 'board/bds')
-rw-r--r--board/bds/board.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/board/bds/board.c b/board/bds/board.c
index 7be3ecbc17..28e23e67bb 100644
--- a/board/bds/board.c
+++ b/board/bds/board.c
@@ -13,6 +13,10 @@
#include "lm4_adc.h"
#include "adc.h"
+#ifndef CONFIG_TASK_POWERBTN
+#define power_button_interrupt NULL
+#endif
+
/* ADC channels. Must be in the exactly same order as in enum adc_channel. */
const struct adc_t adc_channels[ADC_CH_COUNT] =
{