mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-18 09:44:18 +08:00
fc88dd16a0
The cobalt driver should depend on VIDEO_V4L2_SUBDEV_API. This fixes this kbuild error: tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head:99bc7215bc
commit:85756a069c
[media] cobalt: add new driver config: x86_64-randconfig-s0-09201514 (attached as .config) reproduce: git checkout85756a069c
# save the attached .config to linux build tree make ARCH=x86_64 All error/warnings (new ones prefixed by >>): drivers/media/i2c/adv7604.c: In function 'adv76xx_get_format': >> drivers/media/i2c/adv7604.c:1853:9: error: implicit declaration of function 'v4l2_subdev_get_try_format' [-Werror=implicit-function-declaration] fmt = v4l2_subdev_get_try_format(sd, cfg, format->pad); ^ drivers/media/i2c/adv7604.c:1853:7: warning: assignment makes pointer from integer without a cast [-Wint-conversion] fmt = v4l2_subdev_get_try_format(sd, cfg, format->pad); ^ drivers/media/i2c/adv7604.c: In function 'adv76xx_set_format': drivers/media/i2c/adv7604.c:1882:7: warning: assignment makes pointer from integer without a cast [-Wint-conversion] fmt = v4l2_subdev_get_try_format(sd, cfg, format->pad); ^ cc1: some warnings being treated as errors Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
21 lines
644 B
Plaintext
21 lines
644 B
Plaintext
config VIDEO_COBALT
|
|
tristate "Cisco Cobalt support"
|
|
depends on VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API
|
|
depends on PCI_MSI && MTD_COMPLEX_MAPPINGS
|
|
depends on GPIOLIB || COMPILE_TEST
|
|
depends on SND
|
|
select I2C_ALGOBIT
|
|
select VIDEO_ADV7604
|
|
select VIDEO_ADV7511
|
|
select VIDEO_ADV7842
|
|
select VIDEOBUF2_DMA_SG
|
|
---help---
|
|
This is a video4linux driver for the Cisco PCIe Cobalt card.
|
|
|
|
This board is sadly not available outside of Cisco, but it is
|
|
very useful as an example of a real driver that uses all the
|
|
latest frameworks and APIs.
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called cobalt.
|