summaryrefslogtreecommitdiff
path: root/drivers/media/video/ivtv/ivtv-streams.h
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2007-10-13 05:54:48 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-10-22 12:01:47 -0200
commit18e16f9c954c6a931ee97584014c826255e0bdaa (patch)
tree14a5833adcd021af9206f47c8530ec83c9bd3ae3 /drivers/media/video/ivtv/ivtv-streams.h
parent34ca7d3791c6a467ff6810a149bdf78be086c23a (diff)
V4L/DVB (6342): ivtv: fix circular locking (bug 9037)
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> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/ivtv/ivtv-streams.h')
-rw-r--r--drivers/media/video/ivtv/ivtv-streams.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/ivtv/ivtv-streams.h b/drivers/media/video/ivtv/ivtv-streams.h
index 8f5f5b1c7c89..3d76a415fbd8 100644
--- a/drivers/media/video/ivtv/ivtv-streams.h
+++ b/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 */