Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

media: atomisp: auto-select VIDEO_V4L2_SUBDEV_API

VIDEO_ATOMISP depends on VIDEO_V4L2_SUBDEV_API, if VIDEO_V4L2_SUBDEV_API
is not selected, it will cause compilation error

drivers/staging/media/atomisp/pci/atomisp_cmd.c:6079:42: error:
‘struct v4l2_subdev_fh’ has no member named ‘pad’ atomisp_subdev_set_ffmt
(&asd->subdev, fh.pad, V4L2_SUBDEV_FORMAT_ACTIVE,

add auto select VIDEO_V4L2_SUBDEV_API if VIDEO_ATOMISP is selected

Link: https://lore.kernel.org/linux-media/20210210033830.961086-1-ztong0001@gmail.com
Signed-off-by: Tong Zhang <ztong0001@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>

authored by

Tong Zhang and committed by
Mauro Carvalho Chehab
184fc42a ac68fb7f

+1
+1
drivers/staging/media/atomisp/Kconfig
··· 15 15 depends on PMIC_OPREGION 16 16 select IOSF_MBI 17 17 select VIDEOBUF_VMALLOC 18 + select VIDEO_V4L2_SUBDEV_API 18 19 help 19 20 Say Y here if your platform supports Intel Atom SoC 20 21 camera imaging subsystem.