diff options
author | Parth Malkan <parthmalkan@google.com> | 2022-08-30 11:29:44 -0700 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-08-30 21:09:12 +0000 |
commit | 731ef3a5038e24fee975cb89b427202907d062ca (patch) | |
tree | 1bdeed62b36be8073d9966db7c1d91fb09baffec /test/rgb_keyboard.c | |
parent | 9a8714b18e17ef2ad9da75a6832c21a5da593351 (diff) | |
download | chrome-ec-731ef3a5038e24fee975cb89b427202907d062ca.tar.gz |
Prism: Remove const keyword from rgbkbd_type variable
Rgbkbd_type could be set at runtime, remove const.
BUG=b:242259557
BRANCH=none
TEST=None
Cq-Depend: chromium:3864981, chromium:3861817, chromium:3866411
Signed-off-by: Parth Malkan <parthmalkan@google.com>
Change-Id: I92bd1e326d20b272afe5bede850f6bb090e86c16
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3864982
Reviewed-by: YH Lin <yueherngl@chromium.org>
Diffstat (limited to 'test/rgb_keyboard.c')
-rw-r--r-- | test/rgb_keyboard.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rgb_keyboard.c b/test/rgb_keyboard.c index 6a4c4066cb..1c6f235e16 100644 --- a/test/rgb_keyboard.c +++ b/test/rgb_keyboard.c @@ -51,7 +51,7 @@ const uint8_t rgbkbd_count = ARRAY_SIZE(rgbkbds); const uint8_t rgbkbd_hsize = RGB_GRID0_COL + RGB_GRID1_COL; const uint8_t rgbkbd_vsize = RGB_GRID0_ROW; -const enum ec_rgbkbd_type rgbkbd_type = EC_RGBKBD_TYPE_UNKNOWN; +enum ec_rgbkbd_type rgbkbd_type = EC_RGBKBD_TYPE_UNKNOWN; const uint8_t rgbkbd_map[] = { RGBKBD_DELM, RGBKBD_COORD(1, 2), RGBKBD_DELM, RGBKBD_COORD(3, 4), |