Skip to content

Commit 3e23841

Browse files
geertuHans Verkuil
authored andcommitted
media: nuvoton: VIDEO_NPCM_VCD_ECE should depend on ARCH_NPCM
The Nuvoton NPCM Video Capture/Differentiation Engine (VCD) and Encoding Compression Engine (ECE) are only present on Nuvoton NPCM SoCs. Hence add a dependency on ARCH_NPCM, to prevent asking the user about these drivers when configuring a kernel without Nuvoton NPCM Architecture support. Fixes: 46c15a4 ("media: nuvoton: Add driver for NPCM video capture and encoding engine") Signed-off-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Hans Verkuil <[email protected]>
1 parent 19e67e0 commit 3e23841

File tree

1 file changed

+2
-2
lines changed
  • drivers/media/platform/nuvoton

1 file changed

+2
-2
lines changed

drivers/media/platform/nuvoton/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ comment "Nuvoton media platform drivers"
44

55
config VIDEO_NPCM_VCD_ECE
66
tristate "Nuvoton NPCM Video Capture/Encode Engine driver"
7-
depends on V4L_PLATFORM_DRIVERS
8-
depends on VIDEO_DEV
7+
depends on V4L_PLATFORM_DRIVERS && VIDEO_DEV
8+
depends on ARCH_NPCM || COMPILE_TEST
99
select VIDEOBUF2_DMA_CONTIG
1010
help
1111
Support for the Video Capture/Differentiation Engine (VCD) and

0 commit comments

Comments
 (0)