diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2023-11-28 21:31:53 +0300 |
---|---|---|
committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2023-12-07 10:31:15 +0300 |
commit | b58253793f4fe7495af3157d7f29cf0919183009 (patch) | |
tree | dc4654b855f04022c23330c4558497f7de9ac4d1 /drivers | |
parent | 15dfed5b4933564470d608705c1630b6ad822160 (diff) | |
download | linux-b58253793f4fe7495af3157d7f29cf0919183009.tar.xz |
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: bba185d141b1 ("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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/media/starfive/camss/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/media/starfive/camss/Kconfig b/drivers/staging/media/starfive/camss/Kconfig index bd184f42c98f..9ea5708fe409 100644 --- a/drivers/staging/media/starfive/camss/Kconfig +++ b/drivers/staging/media/starfive/camss/Kconfig @@ -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 |