aboutsummaryrefslogtreecommitdiff
path: root/linux/drm_bufs.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2004-07-20 11:22:26 +0000
committerDave Airlie <airlied@linux.ie>2004-07-20 11:22:26 +0000
commitfdb6ae31cb721a928d058d7419444f55eb60a542 (patch)
tree271b4e3569d581f31b2e8c731c9ac9e722cf0fa3 /linux/drm_bufs.h
parent7ee263b94f77cadab659207344c82d5528d498cb (diff)
fix some more NULLs from kernel
Diffstat (limited to 'linux/drm_bufs.h')
-rw-r--r--linux/drm_bufs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drm_bufs.h b/linux/drm_bufs.h
index 69511f91..38ddb790 100644
--- a/linux/drm_bufs.h
+++ b/linux/drm_bufs.h
@@ -877,7 +877,7 @@ int DRM(addbufs_sg)( struct inode *inode, struct file *filp,
buf->waiting = 0;
buf->pending = 0;
init_waitqueue_head( &buf->dma_wait );
- buf->filp = 0;
+ buf->filp = NULL;
buf->dev_priv_size = sizeof(DRIVER_BUF_PRIV_T);
buf->dev_private = DRM(alloc)( sizeof(DRIVER_BUF_PRIV_T),