Fix build errors in cobalt driver when CONFIG_SND is not enabled. Fixes these build errors: ERROR: "snd_pcm_period_elapsed" [drivers/media/pci/cobalt/cobalt.ko] undefined! ERROR: "_snd_pcm_stream_lock_irqsave" [drivers/media/pci/cobalt/cobalt.ko] undefined! ERROR: "snd_pcm_hw_constraint_integer" [drivers/media/pci/cobalt/cobalt.ko] undefined! ERROR: "snd_pcm_set_ops" [drivers/media/pci/cobalt/cobalt.ko] undefined! ERROR: "snd_pcm_stream_unlock_irqrestore" [drivers/media/pci/cobalt/cobalt.ko] undefined! ERROR: "snd_pcm_lib_ioctl" [drivers/media/pci/cobalt/cobalt.ko] undefined! ERROR: "snd_card_new" [drivers/media/pci/cobalt/cobalt.ko] undefined! ERROR: "snd_card_free" [drivers/media/pci/cobalt/cobalt.ko] undefined! ERROR: "snd_card_register" [drivers/media/pci/cobalt/cobalt.ko] undefined! ERROR: "snd_pcm_new" [drivers/media/pci/cobalt/cobalt.ko] undefined! Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Cc: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
20 lines
614 B
Plaintext
20 lines
614 B
Plaintext
config VIDEO_COBALT
|
|
tristate "Cisco Cobalt support"
|
|
depends on VIDEO_V4L2 && I2C && MEDIA_CONTROLLER
|
|
depends on PCI_MSI && MTD_COMPLEX_MAPPINGS && GPIOLIB
|
|
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.
|