summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/ivtv/ivtv-streams.h
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2007-10-13 10:54:48 +0200
committerHans Verkuil <hverkuil@xs4all.nl>2007-10-13 10:54:48 +0200
commit9fb41294803cc92d962f16d61619bd8d19fd0697 (patch)
tree0ff000f01f2fc03d4f2386c84bc77b26f1618f7f /linux/drivers/media/video/ivtv/ivtv-streams.h
parentd5a2bfaacc59815422854a9e0f0be3e07e92ebd8 (diff)
downloadmediapointer-dvb-s2-9fb41294803cc92d962f16d61619bd8d19fd0697.tar.gz
mediapointer-dvb-s2-9fb41294803cc92d962f16d61619bd8d19fd0697.tar.bz2
ivtv: fix circular locking (bug 9037)
From: Hans Verkuil <hverkuil@xs4all.nl> If you try to access the video device from within an udev rule, then you get into a circular locking situation. Changed the driver to postpone the registration of the devices until everything else has been fully initialized, so that the newly created device can be used immediately. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers/media/video/ivtv/ivtv-streams.h')
-rw-r--r--linux/drivers/media/video/ivtv/ivtv-streams.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux/drivers/media/video/ivtv/ivtv-streams.h b/linux/drivers/media/video/ivtv/ivtv-streams.h
index 8f5f5b1c7..3d76a415f 100644
--- a/linux/drivers/media/video/ivtv/ivtv-streams.h
+++ b/linux/drivers/media/video/ivtv/ivtv-streams.h
@@ -22,6 +22,7 @@
#define IVTV_STREAMS_H
int ivtv_streams_setup(struct ivtv *itv);
+int ivtv_streams_register(struct ivtv *itv);
void ivtv_streams_cleanup(struct ivtv *itv);
/* Capture related */