aboutsummaryrefslogtreecommitdiff
path: root/linux/drm_dma.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drm_dma.h')
-rw-r--r--linux/drm_dma.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drm_dma.h b/linux/drm_dma.h
index f36cd1c1..14ae5545 100644
--- a/linux/drm_dma.h
+++ b/linux/drm_dma.h
@@ -153,7 +153,7 @@ void DRM(free_buffer)(drm_device_t *dev, drm_buf_t *buf)
buf->waiting = 0;
buf->pending = 0;
- buf->filp = 0;
+ buf->filp = NULL;
buf->used = 0;
if ( __HAVE_DMA_WAITQUEUE && waitqueue_active(&buf->dma_wait)) {