summaryrefslogtreecommitdiff
path: root/linux-core/drm_dma.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux-core/drm_dma.c')
-rw-r--r--linux-core/drm_dma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/drm_dma.c b/linux-core/drm_dma.c
index f36cd1c1..14ae5545 100644
--- a/linux-core/drm_dma.c
+++ b/linux-core/drm_dma.c
@@ -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)) {