From: Geert Uytterhoeven Date: Mon, 22 Jul 2024 15:25:53 +0000 (+0200) Subject: media: imagination: VIDEO_E5010_JPEG_ENC should depend on ARCH_K3 X-Git-Tag: v6.11.2~309 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b16a37f2a77f0624d73fe2c7b2aeea2255d31288;p=thirdparty%2Fkernel%2Fstable.git media: imagination: VIDEO_E5010_JPEG_ENC should depend on ARCH_K3 [ Upstream commit afe6ec667e8846c8470d32789cebbc435588972d ] Currently, the Imagination E5010 JPEG Encoder is only present on Texas Instruments K3 SoCs. Hence add a dependency on ARCH_K3, to prevent asking the user about this driver when configuring a kernel without TI K3 SoC support. The dependency can be relaxed if/when the encoder appears on other SoC families. Fixes: a1e294045885 ("media: imagination: Add E5010 JPEG Encoder driver") Signed-off-by: Geert Uytterhoeven Signed-off-by: Sebastian Fricke Signed-off-by: Hans Verkuil Signed-off-by: Sasha Levin --- diff --git a/drivers/media/platform/imagination/Kconfig b/drivers/media/platform/imagination/Kconfig index 7139ae22219b4..a302c955483dc 100644 --- a/drivers/media/platform/imagination/Kconfig +++ b/drivers/media/platform/imagination/Kconfig @@ -2,6 +2,7 @@ config VIDEO_E5010_JPEG_ENC tristate "Imagination E5010 JPEG Encoder Driver" depends on VIDEO_DEV + depends on ARCH_K3 || COMPILE_TEST select VIDEOBUF2_DMA_CONTIG select VIDEOBUF2_VMALLOC select V4L2_MEM2MEM_DEV