Skip to content

Commit 324493f

Browse files
rddunlapmchehab
authored andcommitted
media: platform: fix cros-ec-cec build error
Fix build when MFD_CROS_EC is not enabled but COMPILE_TEST=y. Fixes this build error: ERROR: "cros_ec_cmd_xfer_status" [drivers/media/platform/cros-ec-cec/cros-ec-cec.ko] undefined! Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Cc: Neil Armstrong <narmstrong@baylibre.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
1 parent dab99a0 commit 324493f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/media/platform/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -541,6 +541,8 @@ config VIDEO_CROS_EC_CEC
541541
depends on MFD_CROS_EC
542542
select CEC_CORE
543543
select CEC_NOTIFIER
544+
select CHROME_PLATFORMS
545+
select CROS_EC_PROTO
544546
---help---
545547
If you say yes here you will get support for the
546548
ChromeOS Embedded Controller's CEC.

0 commit comments

Comments
 (0)