V4L/DVB (7566): videobuf-dvb: allow its usage with videobuf-vmalloc
videobuf-dvb were still using a function that were videobuf-dma-sg dependent. This patch creates a generic handler for this function. This way, videobuf-dvb can now work with all videobuf implementations. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Este cometimento está contido em:
@@ -12,6 +12,8 @@
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2
|
||||
*/
|
||||
#ifndef _VIDEOBUF_VMALLOC_H
|
||||
#define _VIDEOBUF_VMALLOC_H
|
||||
|
||||
#include <media/videobuf-core.h>
|
||||
|
||||
@@ -39,3 +41,5 @@ void videobuf_queue_vmalloc_init(struct videobuf_queue* q,
|
||||
void *videobuf_to_vmalloc (struct videobuf_buffer *buf);
|
||||
|
||||
void videobuf_vmalloc_free (struct videobuf_buffer *buf);
|
||||
|
||||
#endif
|
||||
|
Criar uma nova questão referindo esta
Bloquear um utilizador