aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/drm/drm_drawable.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/drm/drm_drawable.c')
-rw-r--r--drivers/char/drm/drm_drawable.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/char/drm/drm_drawable.c b/drivers/char/drm/drm_drawable.c
index e8e8e42be4c7..7857453c4f48 100644
--- a/drivers/char/drm/drm_drawable.c
+++ b/drivers/char/drm/drm_drawable.c
@@ -1,5 +1,5 @@
1/** 1/**
2 * \file drm_drawable.h 2 * \file drm_drawable.c
3 * IOCTLs for drawables 3 * IOCTLs for drawables
4 * 4 *
5 * \author Rickard E. (Rik) Faith <faith@valinux.com> 5 * \author Rickard E. (Rik) Faith <faith@valinux.com>
@@ -37,20 +37,20 @@
37 37
38/** No-op. */ 38/** No-op. */
39int drm_adddraw(struct inode *inode, struct file *filp, 39int drm_adddraw(struct inode *inode, struct file *filp,
40 unsigned int cmd, unsigned long arg) 40 unsigned int cmd, unsigned long arg)
41{ 41{
42 drm_draw_t draw; 42 drm_draw_t draw;
43 43
44 draw.handle = 0; /* NOOP */ 44 draw.handle = 0; /* NOOP */
45 DRM_DEBUG("%d\n", draw.handle); 45 DRM_DEBUG("%d\n", draw.handle);
46 if (copy_to_user((drm_draw_t __user *)arg, &draw, sizeof(draw))) 46 if (copy_to_user((drm_draw_t __user *) arg, &draw, sizeof(draw)))
47 return -EFAULT; 47 return -EFAULT;
48 return 0; 48 return 0;
49} 49}
50 50
51/** No-op. */ 51/** No-op. */
52int drm_rmdraw(struct inode *inode, struct file *filp, 52int drm_rmdraw(struct inode *inode, struct file *filp,
53 unsigned int cmd, unsigned long arg) 53 unsigned int cmd, unsigned long arg)
54{ 54{
55 return 0; /* NOOP */ 55 return 0; /* NOOP */
56} 56}