From 3c9fb37e655f5556c9c002535f1a85c4f248fb2c Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Mon, 5 Jul 2004 11:56:51 +0000 Subject: fixes from kernel for 0 vs NULL - mika --- linux-core/drm_dma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linux-core/drm_dma.c') 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)) { -- cgit v1.2.3