diff options
author | Andrew McRae <amcrae@google.com> | 2022-01-18 13:30:10 +1100 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2022-01-20 23:53:39 +0000 |
commit | f4b2abb9423d22e4b9bb1a28c5fa2c7aac7be6da (patch) | |
tree | 2a547deeafbfe97230b3e81d55f14d1a9c70193c /include/config.h | |
parent | 1b69854af42066ccbe4e584734d288cd9b5e921f (diff) | |
download | chrome-ec-f4b2abb9423d22e4b9bb1a28c5fa2c7aac7be6da.tar.gz |
ec: Rename GMR_TABLET_MODE_GPIO_L to GPIO_TABLET_MODE_L
Normalise the name of the tablet mode detection
GPIO so that everyboard does not need to redefine it.
BUG=none
TEST=zmake testall; make buildall
BRANCH=none
Signed-off-by: Andrew McRae <amcrae@google.com>
Change-Id: Ifb458e755d1e00c0cff66a02c78dfccaba2d070c
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3397141
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Diffstat (limited to 'include/config.h')
-rw-r--r-- | include/config.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/config.h b/include/config.h index fc1e5ffd35..379422c2ed 100644 --- a/include/config.h +++ b/include/config.h @@ -3915,13 +3915,13 @@ /* * Config to identify what devices use GMR sensor to detect tablet mode. If a - * board selects this config, it also needs to provide GMR_TABLET_MODE_GPIO_L + * board selects this config, it also needs to provide GPIO_TABLET_MODE_L * and direct its interrupt to gmr_tablet_switch_isr. */ #undef CONFIG_GMR_TABLET_MODE /* - * Board provides board_sensor_at_360 method instead of GMR_TABLET_MODE_GPIO_L + * Board provides board_sensor_at_360 method instead of GPIO_TABLET_MODE_L * as the means for determining the state of the flipped-360-degree mode. */ #undef CONFIG_GMR_TABLET_MODE_CUSTOM |