[PATCH v1 2/2] media: tegra-video: Allow building driver with COMPILE_TEST
From: Sowjanya Komatineni
Date: Tue Sep 29 2020 - 23:00:08 EST
This patch adds COMPILE_TEST option to Kconfig to allow building
it with COMPILE_TEST option.
Signed-off-by: Sowjanya Komatineni <skomatineni@xxxxxxxxxx>
---
drivers/staging/media/tegra-video/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/media/tegra-video/Kconfig b/drivers/staging/media/tegra-video/Kconfig
index 1f35da4..3e03ddd 100644
--- a/drivers/staging/media/tegra-video/Kconfig
+++ b/drivers/staging/media/tegra-video/Kconfig
@@ -1,7 +1,7 @@
# SPDX-License-Identifier: GPL-2.0-only
config VIDEO_TEGRA
tristate "NVIDIA Tegra VI driver"
- depends on TEGRA_HOST1X
+ depends on TEGRA_HOST1X || COMPILE_TEST
depends on VIDEO_V4L2
select MEDIA_CONTROLLER
select VIDEOBUF2_DMA_CONTIG
--
2.7.4