From: Arnd Bergmann Date: Fri, 29 May 2020 20:00:31 +0000 (+0200) Subject: media: staging: media: atomisp: add PMIC_OPREGION dependency X-Git-Tag: v5.10.7~2096^2~73 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4e86bde20122aeb4abd8b586ee7f3959f898223c;p=platform%2Fkernel%2Flinux-rpi.git media: staging: media: atomisp: add PMIC_OPREGION dependency 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 Reviewed-by: Nathan Chancellor Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/staging/media/atomisp/Kconfig b/drivers/staging/media/atomisp/Kconfig index 48c2e08..f75765c 100644 --- a/drivers/staging/media/atomisp/Kconfig +++ b/drivers/staging/media/atomisp/Kconfig @@ -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---