summaryrefslogtreecommitdiff
path: root/board/chell/gpio.inc
diff options
context:
space:
mode:
Diffstat (limited to 'board/chell/gpio.inc')
-rw-r--r--board/chell/gpio.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/board/chell/gpio.inc b/board/chell/gpio.inc
index 4805b20496..f547080708 100644
--- a/board/chell/gpio.inc
+++ b/board/chell/gpio.inc
@@ -5,6 +5,9 @@
* found in the LICENSE file.
*/
+/* Declare symbolic names for all the GPIOs that we care about.
+ * Note: Those with interrupt handlers must be declared first. */
+
GPIO_INT(LID_OPEN, PIN(27), GPIO_INT_BOTH, lid_interrupt)
GPIO_INT(AC_PRESENT, PIN(30), GPIO_INT_BOTH, extpower_interrupt)
GPIO_INT(WP_L, PIN(33), GPIO_INT_BOTH, switch_interrupt)