media: Add dependency on ARCH_ASPEED
authorPeter Robinson <pbrobinson@gmail.com>
Fri, 16 Sep 2022 11:41:57 +0000 (12:41 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 25 Nov 2022 11:19:17 +0000 (11:19 +0000)
The VIDEO_ASPEED is part of the Aspeed silicon so it makes
sense to depend on ARCH_ASPEED and for compile testing.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/platform/aspeed/Kconfig

index c871eda33570326c822e83fe12280f9e251e0791..16c5d89134881e57d6352a2df84d11aff65e28db 100644 (file)
@@ -4,6 +4,7 @@ comment "Aspeed media platform drivers"
 
 config VIDEO_ASPEED
        tristate "Aspeed AST2400 and AST2500 Video Engine driver"
+       depends on ARCH_ASPEED || COMPILE_TEST
        depends on V4L_PLATFORM_DRIVERS
        depends on VIDEO_DEV
        select VIDEOBUF2_DMA_CONTIG