diff options
author | Nicolas Boichat <drinkcat@chromium.org> | 2019-09-29 09:38:34 +0200 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-10-02 12:44:32 +0000 |
commit | c35ab4daf5c67569cc4d0680eb672ba76e0d455b (patch) | |
tree | 8913eca3c9fdf9541511759a12ef5fe0839f4265 | |
parent | a1afae4e002a3eccd7835ac898259b0690e9e61a (diff) | |
download | chrome-ec-c35ab4daf5c67569cc4d0680eb672ba76e0d455b.tar.gz |
hammer: Finish renaming CONFIG_HALL_SENSOR to CONFIG_GMR_TABLET_MODE
0beadf2ff "tablet_mode: Renaming for GMR sensor" missed part
of the config name update (probably because the refactoring
happened at the same time as the changes in hammer folder).
BUG=b:139378190
BRANCH=none
TEST=make buildall
Change-Id: Ibb92cf12a2177630d31ad6a887cad6aa6f403b71
Signed-off-by: Nicolas Boichat <drinkcat@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1830540
Reviewed-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-by: Philip Chen <philipchen@chromium.org>
-rw-r--r-- | board/hammer/board.h | 2 | ||||
-rw-r--r-- | board/hammer/variants.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/board/hammer/board.h b/board/hammer/board.h index 87893e5f06..82becc803b 100644 --- a/board/hammer/board.h +++ b/board/hammer/board.h @@ -217,7 +217,7 @@ /* Enable PWM */ #define CONFIG_PWM -#ifdef CONFIG_HALL_SENSOR +#ifdef CONFIG_GMR_TABLET_MODE #define CONFIG_TABLET_MODE #define GMR_TABLET_MODE_GPIO_L GPIO_TABLET_MODE_L #define CONFIG_KEYBOARD_TABLET_MODE_SWITCH diff --git a/board/hammer/variants.h b/board/hammer/variants.h index dde655144d..c50d0307cb 100644 --- a/board/hammer/variants.h +++ b/board/hammer/variants.h @@ -85,9 +85,9 @@ #define CONFIG_LED_DRIVER_LM3630A #endif -/* Hall sensor for tablet mode detection */ +/* GMR sensor for tablet mode detection */ #if defined(BOARD_MASTERBALL) || defined(BOARD_WHISKERS) -#define CONFIG_HALL_SENSOR +#define CONFIG_GMR_TABLET_MODE #endif #endif /* SECTION_IS_RW */ |