Skip to content

Commit

Permalink
V4L/DVB (6287): Fix DMA Scatter/Gather constructor
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mauro Carvalho Chehab committed Oct 10, 2007
1 parent 593f18c commit aecfde5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/video/cx23885/cx23885-dvb.c
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ int cx23885_dvb_register(struct cx23885_tsport *port)

/* dvb stuff */
printk("%s: cx23885 based dvb card\n", dev->name);
videobuf_queue_init(&port->dvb.dvbq, &dvb_qops, dev->pci, &port->slock,
videobuf_queue_pci_init(&port->dvb.dvbq, &dvb_qops, dev->pci, &port->slock,
V4L2_BUF_TYPE_VIDEO_CAPTURE, V4L2_FIELD_TOP,
sizeof(struct cx23885_buffer), port);
err = dvb_register(port);
Expand Down

0 comments on commit aecfde5

Please sign in to comment.