Commit aecfde539eeac11f269894413abf3b60cf74844f

Authored by Mauro Carvalho Chehab
1 parent 593f18c6e4

V4L/DVB (6287): Fix DMA Scatter/Gather constructor

cx23885 driver were converted to use the newer videobuf support. Unfortunately,
the constructor weren't changed. This causes an oops, since the abstract methods
(implemented as callbacks) aren't defined.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Reviewed-by: Michael Krufky <mkrufky@linuxtv.org>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

drivers/media/video/cx23885/cx23885-dvb.c
... ... @@ -186,7 +186,7 @@
186 186  
187 187 /* dvb stuff */
188 188 printk("%s: cx23885 based dvb card\n", dev->name);
189   - videobuf_queue_init(&port->dvb.dvbq, &dvb_qops, dev->pci, &port->slock,
  189 + videobuf_queue_pci_init(&port->dvb.dvbq, &dvb_qops, dev->pci, &port->slock,
190 190 V4L2_BUF_TYPE_VIDEO_CAPTURE, V4L2_FIELD_TOP,
191 191 sizeof(struct cx23885_buffer), port);
192 192 err = dvb_register(port);