diff options
Diffstat (limited to 'board/hammer/gpio.inc')
-rw-r--r-- | board/hammer/gpio.inc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/board/hammer/gpio.inc b/board/hammer/gpio.inc index 305a9f95b7..1fdf46fa9b 100644 --- a/board/hammer/gpio.inc +++ b/board/hammer/gpio.inc @@ -8,11 +8,13 @@ /* Declare symbolic names for all the GPIOs that we care about. * Note: Those with interrupt handlers must be declared first. */ +#ifdef SECTION_IS_RW #ifdef BOARD_WHISKERS -GPIO_INT(TOUCHPAD_INT, PIN(B, 9), GPIO_INT_FALLING, elan_tp_interrupt) +GPIO_INT(TOUCHPAD_INT, PIN(B, 9), GPIO_INT_FALLING, touchpad_interrupt) #else -GPIO_INT(TOUCHPAD_INT, PIN(B, 8), GPIO_INT_FALLING, elan_tp_interrupt) +GPIO_INT(TOUCHPAD_INT, PIN(B, 8), GPIO_INT_FALLING, touchpad_interrupt) #endif +#endif /* SECTION_IS_RW */ /* Keyboard inputs */ #define GPIO_KB_INPUT (GPIO_INPUT | GPIO_PULL_UP | GPIO_INT_BOTH) |