aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/video-buf.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2006-03-25 13:53:38 -0500
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-04-02 03:55:02 -0400
commit4ae5c2e5e627ff22815fb9900161bf188ea2cc67 (patch)
tree66a813cffd9f4ae3f0ef3ff8ac13388b4090b351 /drivers/media/video/video-buf.c
parent31bc09b579f31331545e694d0a49ec4e6b380989 (diff)
V4L/DVB (3614): Fix compilation warning at powerpc platform
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/video-buf.c')
-rw-r--r--drivers/media/video/video-buf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/video-buf.c b/drivers/media/video/video-buf.c
index d2ca0f08d0df..fb09c43c0333 100644
--- a/drivers/media/video/video-buf.c
+++ b/drivers/media/video/video-buf.c
@@ -923,7 +923,7 @@ ssize_t videobuf_read_one(struct videobuf_queue *q,
923 /* need to capture a new frame */ 923 /* need to capture a new frame */
924 retval = -ENOMEM; 924 retval = -ENOMEM;
925 q->read_buf = videobuf_alloc(q->msize); 925 q->read_buf = videobuf_alloc(q->msize);
926 dprintk(1,"video alloc=0x%08x\n",(unsigned int) q->read_buf); 926 dprintk(1,"video alloc=0x%p\n", q->read_buf);
927 if (NULL == q->read_buf) 927 if (NULL == q->read_buf)
928 goto done; 928 goto done;
929 q->read_buf->memory = V4L2_MEMORY_USERPTR; 929 q->read_buf->memory = V4L2_MEMORY_USERPTR;