summaryrefslogtreecommitdiff
path: root/include/console_channel.inc
diff options
context:
space:
mode:
authorCraig Hesling <hesling@chromium.org>2019-12-04 19:47:38 -0800
committerCommit Bot <commit-bot@chromium.org>2019-12-11 00:04:17 +0000
commit027d873c06cff577fd2e3d7c909969992ccbc30d (patch)
treef20b52eeaa8e21a85feef9c9422328a65e38652b /include/console_channel.inc
parent69b96e5f58e6db0eaadcf7d96148f33704e24c90 (diff)
downloadchrome-ec-027d873c06cff577fd2e3d7c909969992ccbc30d.tar.gz
console_channel.inc: Ensure CC_FP available for FP driver
The fingerprint drivers use CC_FP and is included in the build when one of the CONFIG_FP_SENSOR_FPC???? is defined. In interesting situations, you can pull in the fingerprint driver without the FPSENSOR task. This would yield an error because CC_FP was not defined. BRANCH=none BUG=none TEST=make buildall -j TEST=# Remove the FPSENSOR task from nocturne_fp ec.tasklist make BOARD=nocturne_fp Change-Id: Ie5d1e50f876b30d3a92d3acc1744a968b83b9a4b Signed-off-by: Craig Hesling <hesling@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1952289 Reviewed-by: Jett Rink <jettrink@chromium.org> Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Diffstat (limited to 'include/console_channel.inc')
-rw-r--r--include/console_channel.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/console_channel.inc b/include/console_channel.inc
index 3b8471ca07..d4b63040a5 100644
--- a/include/console_channel.inc
+++ b/include/console_channel.inc
@@ -39,7 +39,7 @@ CONSOLE_CHANNEL(CC_DMA, "dma")
#if defined(CONFIG_DEVICE_EVENT) || defined(CONFIG_HOSTCMD_EVENTS)
CONSOLE_CHANNEL(CC_EVENTS, "events")
#endif
-#ifdef HAS_TASK_FPSENSOR
+#if defined(HAS_TASK_FPSENSOR) || defined(CONFIG_FP_SENSOR)
CONSOLE_CHANNEL(CC_FP, "fingerprint")
#endif
#ifdef CONFIG_GESTURE_SW_DETECTION