summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorParth Malkan <parthmalkan@google.com>2022-08-30 11:45:46 -0700
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-08-30 21:09:09 +0000
commit37529325bdefe38729ecde12862a52e6525df6c3 (patch)
treeabe7a05ba200d4d3b0660b2e66421622bf1d777a
parentd576acac6065c664b0a70ff6db26766065a2628f (diff)
downloadchrome-ec-37529325bdefe38729ecde12862a52e6525df6c3.tar.gz
taniks: 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:3864982, chromium:3861817, chromium:3864981 Signed-off-by: Parth Malkan <parthmalkan@google.com> Change-Id: Ie0088fabe6837608c10315c58ad40643c12b7627 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3866411 Reviewed-by: YH Lin <yueherngl@chromium.org>
-rw-r--r--board/taniks/keyboard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/taniks/keyboard.c b/board/taniks/keyboard.c
index eebb330501..dd47bb3752 100644
--- a/board/taniks/keyboard.c
+++ b/board/taniks/keyboard.c
@@ -66,7 +66,7 @@ const uint8_t rgbkbd_count = ARRAY_SIZE(rgbkbds);
const uint8_t rgbkbd_hsize = RGB_GRID0_COL;
const uint8_t rgbkbd_vsize = RGB_GRID0_ROW;
-const enum ec_rgbkbd_type rgbkbd_type = EC_RGBKBD_TYPE_FOUR_ZONES_40_LEDS;
+enum ec_rgbkbd_type rgbkbd_type = EC_RGBKBD_TYPE_FOUR_ZONES_40_LEDS;
#define LED(x, y) RGBKBD_COORD((x), (y))
#define DELM RGBKBD_DELM