diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-03-14 15:10:10 +0000 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-03-14 15:10:10 +0000 |
commit | 306bf265c2829d09b8f83b6ef60b54bcc3123b46 (patch) | |
tree | 229cac235bc680133b53b40368d7faf2c0cea7f4 /linux/drivers | |
parent | 3d6627c897e23b798970ef02d1039ef7a29066a6 (diff) | |
download | mediapointer-dvb-s2-306bf265c2829d09b8f83b6ef60b54bcc3123b46.tar.gz mediapointer-dvb-s2-306bf265c2829d09b8f83b6ef60b54bcc3123b46.tar.bz2 |
Improve compile-time type-checking in videobuf
From: Guennadi Liakhovetski <g.liakhovetski@pengutronix.de>
Make the dev member of the struct videobuf_queue of type "struct device *"
to avoid future problems. Also change the prototype of the
videobuf_queue_core_init() function.
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@pengutronix.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers')
-rw-r--r-- | linux/drivers/media/video/videobuf-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/videobuf-core.c b/linux/drivers/media/video/videobuf-core.c index 86f32545c..ebe2d2a65 100644 --- a/linux/drivers/media/video/videobuf-core.c +++ b/linux/drivers/media/video/videobuf-core.c @@ -121,7 +121,7 @@ int videobuf_iolock(struct videobuf_queue *q, struct videobuf_buffer *vb, void videobuf_queue_core_init(struct videobuf_queue *q, struct videobuf_queue_ops *ops, - void *dev, + struct device *dev, spinlock_t *irqlock, enum v4l2_buf_type type, enum v4l2_field field, |