aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/drm/mga_drv.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@starflyer.(none)>2005-09-30 04:37:36 -0400
committerDave Airlie <airlied@linux.ie>2005-09-30 04:37:36 -0400
commitb3a83639895a422b25f72eec0a5d1d88c3ac4e9e (patch)
tree1cd03d53cccb01964ea57564d7be575a29b7fec2 /drivers/char/drm/mga_drv.h
parent689b9d74b1c00e1316fbb7d1e912fe1227fdb1ab (diff)
drm: fix all sparse warning on 32-bit x86
Finally cleaned up the sparse warnings for the drm. Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/char/drm/mga_drv.h')
-rw-r--r--drivers/char/drm/mga_drv.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/char/drm/mga_drv.h b/drivers/char/drm/mga_drv.h
index 05f0f913ded..474853deecf 100644
--- a/drivers/char/drm/mga_drv.h
+++ b/drivers/char/drm/mga_drv.h
@@ -148,6 +148,9 @@ typedef struct drm_mga_private {
148 unsigned int agp_pages; 148 unsigned int agp_pages;
149} drm_mga_private_t; 149} drm_mga_private_t;
150 150
151extern drm_ioctl_desc_t mga_ioctls[];
152extern int mga_max_ioctl;
153
151 /* mga_dma.c */ 154 /* mga_dma.c */
152extern int mga_driver_preinit(drm_device_t * dev, unsigned long flags); 155extern int mga_driver_preinit(drm_device_t * dev, unsigned long flags);
153extern int mga_dma_bootstrap(DRM_IOCTL_ARGS); 156extern int mga_dma_bootstrap(DRM_IOCTL_ARGS);