host: Move interrupt enabled gpios to top

All GPIOs with interrupt handlers should be together at the top of the gpio.inc
file.

BUG=none
BRANCH=none
TEST=make -j buildall

Change-Id: I6a91e6ba88cf2c63826530f6989b6920349da4c5
Signed-off-by: Aseda Aboagye <aaboagye@google.com>
Reviewed-on: https://chromium-review.googlesource.com/264498
Reviewed-by: Alec Berg <alecaberg@chromium.org>
Commit-Queue: Aseda Aboagye <aaboagye@chromium.org>
Trybot-Ready: Aseda Aboagye <aaboagye@chromium.org>
Tested-by: Aseda Aboagye <aaboagye@chromium.org>
This commit is contained in:
Aseda Aboagye
2015-04-07 16:15:18 -07:00
committed by ChromeOS Commit Bot
parent 4b2bc9600d
commit e369986c6e

View File

@@ -5,18 +5,18 @@
* found in the LICENSE file.
*/
GPIO(EC_INT, 0, 0, 0, NULL)
GPIO(LID_OPEN, 0, 0, GPIO_INT_BOTH, lid_interrupt)
GPIO(POWER_BUTTON_L, 0, 0, GPIO_INT_BOTH, power_button_interrupt)
GPIO(WP, 0, 0, 0, NULL)
GPIO(ENTERING_RW, 0, 0, 0, NULL)
GPIO(AC_PRESENT, 0, 0, GPIO_INT_BOTH, extpower_interrupt)
GPIO(PCH_BKLTEN, 0, 0, 0, NULL)
GPIO(ENABLE_BACKLIGHT, 0, 0, 0, NULL)
GPIO(BUTTON_VOLUME_DOWN_L, 0, 0, GPIO_INT_BOTH, button_interrupt)
GPIO(BUTTON_VOLUME_UP, 0, 0, GPIO_INT_BOTH, button_interrupt)
GPIO(CHARGE_DONE, 0, 0, GPIO_INT_BOTH, inductive_charging_interrupt)
GPIO(EC_INT, 0, 0, 0, NULL)
GPIO(WP, 0, 0, 0, NULL)
GPIO(ENTERING_RW, 0, 0, 0, NULL)
GPIO(PCH_BKLTEN, 0, 0, 0, NULL)
GPIO(ENABLE_BACKLIGHT, 0, 0, 0, NULL)
/* Inductive charging */
GPIO(CHARGE_EN, 0, 0, 0, NULL)
GPIO(CHARGE_DONE, 0, 0, GPIO_INT_BOTH, inductive_charging_interrupt)
GPIO(BASE_CHG_VDD_EN, 0, 0, 0, NULL)