summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLogan_Liao <logan_Liao@compal.corp-partner.google.com>2022-08-29 14:52:15 +0800
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-08-30 21:09:10 +0000
commit3bba60ed4b2c1ac3e271c8c535eb5f5ce06e22ff (patch)
treeb23023732d29bc3957e546a26618a2c9a548f7fd /include
parent37529325bdefe38729ecde12862a52e6525df6c3 (diff)
downloadchrome-ec-3bba60ed4b2c1ac3e271c8c535eb5f5ce06e22ff.tar.gz
Mithrax : Modify RGBKBD config for non-gaming SKU.
This patch modify RGB_type setting to distinguish gaming and non-gaming SKU. BUG=b:242259557 BRANCH=none TEST=test Mithrax without RGB keyboard that return EC_RGBKBD_TYPE_UNKNOWN. Cq-Depend: chromium:3864981, chromium:3864982, chromium:3866411 Change-Id: I3f6485319d36b2ef619d597ea75dc074838b7562 Signed-off-by: Logan_Liao <logan_Liao@compal.corp-partner.google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3861817 Reviewed-by: Logan Liao <logan_liao@compal.corp-partner.google.com> Reviewed-by: YH Lin <yueherngl@chromium.org> Reviewed-by: Parth Malkan <parthmalkan@google.com> Commit-Queue: Parth Malkan <parthmalkan@google.com> Tested-by: Parth Malkan <parthmalkan@google.com> Reviewed-by: Ko Ko <ko_ko@compal.corp-partner.google.com>
Diffstat (limited to 'include')
-rw-r--r--include/rgb_keyboard.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rgb_keyboard.h b/include/rgb_keyboard.h
index c02b29d5f3..9fd50d5ecf 100644
--- a/include/rgb_keyboard.h
+++ b/include/rgb_keyboard.h
@@ -157,7 +157,7 @@ extern const uint8_t rgbkbd_vsize;
* rgbkbd_type describes the rgb kb type supported.
* i.e. Number of zones and number of LEDs
*/
-extern const enum ec_rgbkbd_type rgbkbd_type;
+extern enum ec_rgbkbd_type rgbkbd_type;
/*
* rgbkbd_map describes a mapping from key IDs to LED IDs.