aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/drm/i810_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/i810_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/i810_drv.h')
-rw-r--r--drivers/char/drm/i810_drv.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/char/drm/i810_drv.h b/drivers/char/drm/i810_drv.h
index 2d6b594afa0d..c78f36aaa2f0 100644
--- a/drivers/char/drm/i810_drv.h
+++ b/drivers/char/drm/i810_drv.h
@@ -121,6 +121,9 @@ extern void i810_driver_pretakedown(drm_device_t * dev);
121extern void i810_driver_prerelease(drm_device_t * dev, DRMFILE filp); 121extern void i810_driver_prerelease(drm_device_t * dev, DRMFILE filp);
122extern int i810_driver_device_is_agp(drm_device_t * dev); 122extern int i810_driver_device_is_agp(drm_device_t * dev);
123 123
124extern drm_ioctl_desc_t i810_ioctls[];
125extern int i810_max_ioctl;
126
124#define I810_BASE(reg) ((unsigned long) \ 127#define I810_BASE(reg) ((unsigned long) \
125 dev_priv->mmio_map->handle) 128 dev_priv->mmio_map->handle)
126#define I810_ADDR(reg) (I810_BASE(reg) + reg) 129#define I810_ADDR(reg) (I810_BASE(reg) + reg)