diff options
author | Simon Glass <sjg@chromium.org> | 2012-05-08 10:39:27 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2012-05-08 11:31:52 -0700 |
commit | 42842e437848a29cff276715aaef6ee2ebc75584 (patch) | |
tree | ca66b90301ba820c72ffc8d216ce2d87c977f0ad /include/gpio.h | |
parent | 5b2fa92369a87ee48a5fd43cb53a62af810ace6c (diff) | |
download | chrome-ec-42842e437848a29cff276715aaef6ee2ebc75584.tar.gz |
Move gpio list into gpio.h header file
This is referenced by various files, so should be in the gpio.h header.
BUG=none
TEST=manual:
build and boot on daisy, see that USB download still works
build on all platforms
Change-Id: If579c975ef6c82988b9e411eeaa97c950d9efce4
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/gpio.h')
-rw-r--r-- | include/gpio.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/gpio.h b/include/gpio.h index b3bd4258f4..bb19c91a6f 100644 --- a/include/gpio.h +++ b/include/gpio.h @@ -51,6 +51,9 @@ struct gpio_info { void (*irq_handler)(enum gpio_signal signal); }; +/* Signal information from board.c. Must match order from enum gpio_signal. */ +extern const struct gpio_info gpio_list[GPIO_COUNT]; + /* Macro for signals which don't exist */ #define GPIO_SIGNAL_NOT_IMPLEMENTED(name) {name, LM4_GPIO_A, 0, 0, NULL} |