]> git.itanic.dy.fi Git - linux-stable/commit
media: nuvoton: VIDEO_NPCM_VCD_ECE should depend on ARCH_NPCM
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 25 Oct 2023 08:37:11 +0000 (10:37 +0200)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Fri, 27 Oct 2023 09:44:19 +0000 (11:44 +0200)
commit3e238417254bfdcc23fe207780b59cbb08656762
treea2560da8281e2026c4f692835c8b213559f05656
parent19e67e01eb1e84f3529770d084b93f16a4894c42
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: 46c15a4ff1f4 ("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>
drivers/media/platform/nuvoton/Kconfig