media: ipu3: allow building it with COMPILE_TEST on non-x86 archs
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 20 Apr 2018 17:42:50 +0000 (13:42 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 4 May 2018 13:49:09 +0000 (09:49 -0400)
Despite depending on ACPI, this driver builds fine on non-x86
archtecture with COMPILE_TEST, as it doesn't depend on
ACPI-specific functions/structs.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/pci/intel/ipu3/Kconfig

index a82d3fe277d2cdec2236e37f3956edfd0dd960f2..45cf99a512e484d5b0cd4e428faca0a4a3501172 100644 (file)
@@ -2,10 +2,9 @@ config VIDEO_IPU3_CIO2
        tristate "Intel ipu3-cio2 driver"
        depends on VIDEO_V4L2 && PCI
        depends on VIDEO_V4L2_SUBDEV_API
-       depends on X86 || COMPILE_TEST
+       depends on (X86 && ACPI) || COMPILE_TEST
        depends on MEDIA_CONTROLLER
        depends on HAS_DMA
-       depends on ACPI
        select V4L2_FWNODE
        select VIDEOBUF2_DMA_SG