summaryrefslogtreecommitdiff
path: root/chip/lm4/gpio.c
diff options
context:
space:
mode:
authorRandall Spangler <rspangler@chromium.org>2012-10-29 14:13:36 -0700
committerGerrit <chrome-bot@google.com>2012-10-30 14:50:03 -0700
commita21ea56e76ff71849d45f59608c0beb7bede4c02 (patch)
treed8e3bd5d57920878f9603cf4c3fee7b39b371188 /chip/lm4/gpio.c
parent80467aff915c638b1c3f96a51becffd493791962 (diff)
downloadchrome-ec-a21ea56e76ff71849d45f59608c0beb7bede4c02.tar.gz
Rename power_button module to switch
Since it handles not just power button, but also lid switch, AC detect, and other switches. No functional changes; just renaming. BUG=chrome-os-partner:15579 BRANCH=none TEST=boot system, power on/off with power button Change-Id: I51628a52293f7207715f5f6bf368a08fe6c3dbce Signed-off-by: Randall Spangler <rspangler@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/36821
Diffstat (limited to 'chip/lm4/gpio.c')
-rw-r--r--chip/lm4/gpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/lm4/gpio.c b/chip/lm4/gpio.c
index 7c8a7a73f4..9c276634c1 100644
--- a/chip/lm4/gpio.c
+++ b/chip/lm4/gpio.c
@@ -9,8 +9,8 @@
#include "common.h"
#include "gpio.h"
#include "hooks.h"
-#include "power_button.h"
#include "registers.h"
+#include "switch.h"
#include "task.h"
#include "timer.h"
#include "util.h"