summaryrefslogtreecommitdiff
path: root/common/keyboard_backlight.c
diff options
context:
space:
mode:
authorDaisuke Nojiri <dnojiri@chromium.org>2022-05-18 11:27:16 -0700
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-05-19 16:00:04 +0000
commitd58c9c80d1e9f3e3ded6c0d49cdc327ae0599f5c (patch)
tree7679c6e35a3fda2a107b841ff125730df16f0fc4 /common/keyboard_backlight.c
parent4d3cdbe96356bb258d0cecf153027872878019fb (diff)
downloadchrome-ec-d58c9c80d1e9f3e3ded6c0d49cdc327ae0599f5c.tar.gz
RGBKBD: Add reset, enable, disable, scale console commands
This patch renames rgbk command to rgb and adds reset, enable, disable and scale command to the command. BUG=b:233099161 BRANCH=None TEST=Vell Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org> Change-Id: I0f01f99199400489d418234449c9f9b38969647d Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3654486 Reviewed-by: Parth Malkan <parthmalkan@google.com> Commit-Queue: Parth Malkan <parthmalkan@google.com>
Diffstat (limited to 'common/keyboard_backlight.c')
-rw-r--r--common/keyboard_backlight.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/common/keyboard_backlight.c b/common/keyboard_backlight.c
index b1b3671d3d..8cf400dc34 100644
--- a/common/keyboard_backlight.c
+++ b/common/keyboard_backlight.c
@@ -21,8 +21,9 @@ static struct kblight_conf kblight;
static int current_percent;
static uint8_t current_enable;
-void __attribute__((weak)) board_kblight_init(void)
-{ }
+__overridable void board_kblight_init(void) {}
+
+__overridable void board_kblight_shutdown(void) {}
static int kblight_init(void)
{