diff options
Diffstat (limited to 'drivers/media/video/cx88/cx88-core.c')
-rw-r--r-- | drivers/media/video/cx88/cx88-core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/cx88/cx88-core.c b/drivers/media/video/cx88/cx88-core.c index 62e8dd24c5f5..01e2ac98970b 100644 --- a/drivers/media/video/cx88/cx88-core.c +++ b/drivers/media/video/cx88/cx88-core.c | |||
@@ -220,7 +220,7 @@ cx88_free_buffer(struct videobuf_queue *q, struct cx88_buffer *buf) | |||
220 | videobuf_dma_unmap(q, dma); | 220 | videobuf_dma_unmap(q, dma); |
221 | videobuf_dma_free(dma); | 221 | videobuf_dma_free(dma); |
222 | btcx_riscmem_free((struct pci_dev *)q->dev, &buf->risc); | 222 | btcx_riscmem_free((struct pci_dev *)q->dev, &buf->risc); |
223 | buf->vb.state = STATE_NEEDS_INIT; | 223 | buf->vb.state = VIDEOBUF_NEEDS_INIT; |
224 | } | 224 | } |
225 | 225 | ||
226 | /* ------------------------------------------------------------------ */ | 226 | /* ------------------------------------------------------------------ */ |
@@ -538,7 +538,7 @@ void cx88_wakeup(struct cx88_core *core, | |||
538 | do_gettimeofday(&buf->vb.ts); | 538 | do_gettimeofday(&buf->vb.ts); |
539 | dprintk(2,"[%p/%d] wakeup reg=%d buf=%d\n",buf,buf->vb.i, | 539 | dprintk(2,"[%p/%d] wakeup reg=%d buf=%d\n",buf,buf->vb.i, |
540 | count, buf->count); | 540 | count, buf->count); |
541 | buf->vb.state = STATE_DONE; | 541 | buf->vb.state = VIDEOBUF_DONE; |
542 | list_del(&buf->vb.queue); | 542 | list_del(&buf->vb.queue); |
543 | wake_up(&buf->vb.done); | 543 | wake_up(&buf->vb.done); |
544 | } | 544 | } |