media: rkisp1: Enable compilation on ARCH_MXC
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Tue, 14 Jun 2022 19:10:34 +0000 (20:10 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Sun, 17 Jul 2022 10:24:19 +0000 (11:24 +0100)
The ISP used by the Rockchip RK3399 is also found in the NXP i.MX8MP.
Enable compilation of the driver for the MXC architecture in addition to
ARCH_ROCKCHIP.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Dafna Hirschfeld <dafna@fastmail.com>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/platform/rockchip/rkisp1/Kconfig

index dabd7e42c1933be52b072315d23fe77f0d6b6796..731c9acbf6efa33188617204d441fb0ea59adebc 100644 (file)
@@ -3,7 +3,7 @@ config VIDEO_ROCKCHIP_ISP1
        tristate "Rockchip Image Signal Processing v1 Unit driver"
        depends on V4L_PLATFORM_DRIVERS
        depends on VIDEO_DEV && OF
-       depends on ARCH_ROCKCHIP || COMPILE_TEST
+       depends on ARCH_ROCKCHIP || ARCH_MXC || COMPILE_TEST
        select MEDIA_CONTROLLER
        select VIDEO_V4L2_SUBDEV_API
        select VIDEOBUF2_DMA_CONTIG