diff options
author | Randall Spangler <rspangler@chromium.org> | 2012-01-26 13:39:36 -0800 |
---|---|---|
committer | Randall Spangler <rspangler@chromium.org> | 2012-01-26 13:39:36 -0800 |
commit | c4a867984ef707d974f95f4f06f80c4b04db3bc2 (patch) | |
tree | d62bea2a735cbcd2ded84395624f44aef8b3c025 /board/link/board.c | |
parent | 028150a0591c899feae6ec08fcd7efd685ca80ee (diff) | |
download | chrome-ec-c4a867984ef707d974f95f4f06f80c4b04db3bc2.tar.gz |
Fix missing GPIO interrupts
Signed-off-by: Randall Spangler <rspangler@chromium.org>
BUG=none
TEST=push and release power button; should see debug messages
Change-Id: I4a08b56247baa85555514623db7a04ab4638ca0e
Diffstat (limited to 'board/link/board.c')
-rw-r--r-- | board/link/board.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/board/link/board.c b/board/link/board.c index 3f0add3836..20a2437b00 100644 --- a/board/link/board.c +++ b/board/link/board.c @@ -5,16 +5,17 @@ /* EC for Link board configuration */ #include "board.h" +#include "config.h" #include "gpio.h" #include "power_button.h" #include "registers.h" #include "util.h" #include "x86_power.h" -#ifndef CONFIG_X86POWER +#ifndef CONFIG_TASK_X86POWER #define x86_power_interrupt NULL #endif -#ifndef CONFIG_POWERBTN +#ifndef CONFIG_TASK_POWERBTN #define power_button_interrupt NULL #endif |