OSDN Git Service

media: staging: media: atomisp: add PMIC_OPREGION dependency
authorArnd Bergmann <arnd@arndb.de>
Fri, 29 May 2020 20:00:31 +0000 (22:00 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 11 Jun 2020 17:00:43 +0000 (19:00 +0200)
Without that driver, there is a link failure in

ERROR: modpost: "intel_soc_pmic_exec_mipi_pmic_seq_element"
[drivers/staging/media/atomisp/pci/atomisp_gmin_platform.ko] undefined!

Add an explicit Kconfig dependency.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/atomisp/Kconfig

index 48c2e08..f75765c 100644 (file)
@@ -12,6 +12,7 @@ menuconfig INTEL_ATOMISP
 config VIDEO_ATOMISP
        tristate "Intel Atom Image Signal Processor Driver"
        depends on VIDEO_V4L2 && INTEL_ATOMISP
+       depends on PMIC_OPREGION
        select IOSF_MBI
        select VIDEOBUF_VMALLOC
        ---help---