diff options
author | Randall Spangler <rspangler@chromium.org> | 2013-10-18 10:38:07 -0700 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2013-10-21 21:10:36 +0000 |
commit | d9530449fd75650a53d2ee8d9cfdc8ef063781b5 (patch) | |
tree | e04f409f01e555c6a05b228a965726ab055c35a6 /board/rambi/board.c | |
parent | 15e2fa02fdae240411df7a4e3298b988736a4499 (diff) | |
download | chrome-ec-d9530449fd75650a53d2ee8d9cfdc8ef063781b5.tar.gz |
cleanup: Consolidate power interrupts
Every chipset had its own header file just to declare a GPIO interrupt
handler. Since this seems to be a common feature of the power
interface, make a standard power_interrupt() API provided by
chipset.h. This lets us get rid of 4 include files, and makes it
easier to add more chipsets in the future.
BUG=chrome-os-partner:18343
BRANCH=none
TEST=build all boards; pass unit tests
Change-Id: I1fc5612d42625ea46e0a8e16a83085b66d476664
Signed-off-by: Randall Spangler <rspangler@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/173745
Diffstat (limited to 'board/rambi/board.c')
-rw-r--r-- | board/rambi/board.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/board/rambi/board.c b/board/rambi/board.c index f99f4874c1..fbe32dd924 100644 --- a/board/rambi/board.c +++ b/board/rambi/board.c @@ -7,7 +7,6 @@ #include "adc.h" #include "backlight.h" #include "chip_temp_sensor.h" -#include "chipset_haswell.h" #include "chipset_x86_common.h" #include "common.h" #include "ec_commands.h" |