summaryrefslogtreecommitdiff
path: root/drivers/char/drm/via_drm.h
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2005-07-27 11:43:56 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-27 16:25:54 -0700
commitbbaf364103cee15c895e2086723d0ad9ef47ae99 (patch)
tree50ba44d1a55f00c2d328a6943acc4495337b7020 /drivers/char/drm/via_drm.h
parentdb1de1595d03d3ddea3e0548b20decb0a32e4258 (diff)
downloadlwn-bbaf364103cee15c895e2086723d0ad9ef47ae99.tar.gz
lwn-bbaf364103cee15c895e2086723d0ad9ef47ae99.zip
[PATCH] drm: via: fix sparse warnings
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Cc: Dave Airlie <airlied@linux.ie> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/char/drm/via_drm.h')
-rw-r--r--drivers/char/drm/via_drm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/drm/via_drm.h b/drivers/char/drm/via_drm.h
index 4588c9bd1816..be346bb0a26a 100644
--- a/drivers/char/drm/via_drm.h
+++ b/drivers/char/drm/via_drm.h
@@ -158,7 +158,7 @@ typedef struct _drm_via_dma_init {
} drm_via_dma_init_t;
typedef struct _drm_via_cmdbuffer {
- char *buf;
+ char __user *buf;
unsigned long size;
} drm_via_cmdbuffer_t;