Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

media: imagination: VIDEO_E5010_JPEG_ENC should depend on ARCH_K3

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 <geert+renesas@glider.be>
Signed-off-by: Sebastian Fricke <sebastian.fricke@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>

authored by

Geert Uytterhoeven and committed by
Hans Verkuil
afe6ec66 90effee4

+1
+1
drivers/media/platform/imagination/Kconfig
··· 2 2 config VIDEO_E5010_JPEG_ENC 3 3 tristate "Imagination E5010 JPEG Encoder Driver" 4 4 depends on VIDEO_DEV 5 + depends on ARCH_K3 || COMPILE_TEST 5 6 select VIDEOBUF2_DMA_CONTIG 6 7 select VIDEOBUF2_VMALLOC 7 8 select V4L2_MEM2MEM_DEV