diff options
author | Guennadi Liakhovetski <g.liakhovetski@pengutronix.de> | 2008-04-22 13:42:13 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-04-24 13:07:44 -0400 |
commit | 0705135e59f8503e4dade4b3580fed77b1743b7c (patch) | |
tree | 9ab28abeff6cb8ffa50e565204ed4394524d28d7 /drivers/media/video/saa7134/saa7134-dvb.c | |
parent | f13613acfb1a71895ac886dc831d6ae4e20e241a (diff) |
V4L/DVB (7237): Convert videobuf-dma-sg to generic DMA API
videobuf-dma-sg does not need to depend on PCI. Switch it to using generic
DMA API, convert all affected drivers, relax Kconfig restriction, improve
compile-time type checking, fix some Coding Style violations while at it.
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@pengutronix.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/saa7134/saa7134-dvb.c')
-rw-r--r-- | drivers/media/video/saa7134/saa7134-dvb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/saa7134/saa7134-dvb.c b/drivers/media/video/saa7134/saa7134-dvb.c index b55df4877af..eabc67d03b2 100644 --- a/drivers/media/video/saa7134/saa7134-dvb.c +++ b/drivers/media/video/saa7134/saa7134-dvb.c | |||
@@ -899,8 +899,8 @@ static int dvb_init(struct saa7134_dev *dev) | |||
899 | dev->ts.nr_bufs = 32; | 899 | dev->ts.nr_bufs = 32; |
900 | dev->ts.nr_packets = 32*4; | 900 | dev->ts.nr_packets = 32*4; |
901 | dev->dvb.name = dev->name; | 901 | dev->dvb.name = dev->name; |
902 | videobuf_queue_pci_init(&dev->dvb.dvbq, &saa7134_ts_qops, | 902 | videobuf_queue_sg_init(&dev->dvb.dvbq, &saa7134_ts_qops, |
903 | dev->pci, &dev->slock, | 903 | &dev->pci->dev, &dev->slock, |
904 | V4L2_BUF_TYPE_VIDEO_CAPTURE, | 904 | V4L2_BUF_TYPE_VIDEO_CAPTURE, |
905 | V4L2_FIELD_ALTERNATE, | 905 | V4L2_FIELD_ALTERNATE, |
906 | sizeof(struct saa7134_buf), | 906 | sizeof(struct saa7134_buf), |