mirror of
https://github.com/torvalds/linux.git
synced 2024-11-25 13:41:51 +00:00
staging: media: VIDEO_STARFIVE_CAMSS should depend on ARCH_STARFIVE
The StarFive Camera Subsystem is only present on the StarFive JH7110
SoC. Hence add a dependency on ARCH_STARFIVE, to prevent asking the
user about this driver when configuring a kernel without StarFive SoC
support.
Fixes: bba185d141
("media: staging: media: starfive: camss: Add core driver")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Changhuang Liang <changhuang.liang@starfivetech.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
This commit is contained in:
parent
15dfed5b49
commit
b58253793f
@ -5,6 +5,7 @@ config VIDEO_STARFIVE_CAMSS
|
||||
depends on VIDEO_DEV && OF
|
||||
depends on HAS_DMA
|
||||
depends on PM
|
||||
depends on ARCH_STARFIVE || COMPILE_TEST
|
||||
select MEDIA_CONTROLLER
|
||||
select VIDEO_V4L2_SUBDEV_API
|
||||
select VIDEOBUF2_DMA_CONTIG
|
||||
|
Loading…
Reference in New Issue
Block a user