Skip to content

Commit

Permalink
media: nuvoton: VIDEO_NPCM_VCD_ECE should depend on ARCH_NPCM
Browse files Browse the repository at this point in the history
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 <geert+renesas@glider.be>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
  • Loading branch information
Geert Uytterhoeven authored and Hans Verkuil committed Oct 27, 2023
1 parent 19e67e0 commit 3e23841
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/media/platform/nuvoton/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ comment "Nuvoton media platform drivers"

config VIDEO_NPCM_VCD_ECE
tristate "Nuvoton NPCM Video Capture/Encode Engine driver"
depends on V4L_PLATFORM_DRIVERS
depends on VIDEO_DEV
depends on V4L_PLATFORM_DRIVERS && VIDEO_DEV
depends on ARCH_NPCM || COMPILE_TEST
select VIDEOBUF2_DMA_CONTIG
help
Support for the Video Capture/Differentiation Engine (VCD) and
Expand Down

0 comments on commit 3e23841

Please sign in to comment.