aboutsummaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorDarron Broad <darron@kewl.org>2008-10-21 11:28:46 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-10-21 14:32:08 -0200
commit878595f6e7225c996523965b61ce3fe29addca9d (patch)
treeca45e688480b5a32c060897a10e6bc6ae1a6ed62 /include/media
parent0fcd488d8d90d2332f9ff463929ec4b7676102b6 (diff)
downloadkernel_samsung_smdk4412-878595f6e7225c996523965b61ce3fe29addca9d.zip
kernel_samsung_smdk4412-878595f6e7225c996523965b61ce3fe29addca9d.tar.gz
kernel_samsung_smdk4412-878595f6e7225c996523965b61ce3fe29addca9d.tar.bz2
V4L/DVB (9335): videobuf: split unregister bus creating self-contained frontend de-allocator
This creates a self contained frontend de-allocator for the instances where an adapter has not been registered yet frontend de-allocation may be required. Signed-off-by: Darron Broad <darron@kewl.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media')
-rw-r--r--include/media/videobuf-dvb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/media/videobuf-dvb.h b/include/media/videobuf-dvb.h
index 80471c2..6ba4f12 100644
--- a/include/media/videobuf-dvb.h
+++ b/include/media/videobuf-dvb.h
@@ -47,6 +47,7 @@ int videobuf_dvb_register_bus(struct videobuf_dvb_frontends *f,
void videobuf_dvb_unregister_bus(struct videobuf_dvb_frontends *f);
struct videobuf_dvb_frontend * videobuf_dvb_alloc_frontend(struct videobuf_dvb_frontends *f, int id);
+void videobuf_dvb_dealloc_frontends(struct videobuf_dvb_frontends *f);
struct videobuf_dvb_frontend * videobuf_dvb_get_frontend(struct videobuf_dvb_frontends *f, int id);
int videobuf_dvb_find_frontend(struct videobuf_dvb_frontends *f, struct dvb_frontend *p);