From e369986c6ed153f5cdae30a865765985934d32f4 Mon Sep 17 00:00:00 2001 From: Aseda Aboagye Date: Tue, 7 Apr 2015 16:15:18 -0700 Subject: [PATCH] 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 Reviewed-on: https://chromium-review.googlesource.com/264498 Reviewed-by: Alec Berg Commit-Queue: Aseda Aboagye Trybot-Ready: Aseda Aboagye Tested-by: Aseda Aboagye --- board/host/gpio.inc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/board/host/gpio.inc b/board/host/gpio.inc index 9e0df82334..bb01c129e4 100644 --- a/board/host/gpio.inc +++ b/board/host/gpio.inc @@ -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)