aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_drv.h
diff options
context:
space:
mode:
authorBen Widawsky <ben@bwidawsk.net>2012-04-16 17:07:40 -0400
committerDaniel Vetter <daniel.vetter@ffwll.ch>2012-04-18 04:34:49 -0400
commitc43b5634037ff00c83cde4ab7fc5e46831c846ef (patch)
tree38381d5ba104db965999b740c85c76e66c5003d7 /drivers/gpu/drm/i915/i915_drv.h
parentdf0323c42ac35f81b49e25fe04e8e52b9c6f6467 (diff)
drm/i915: [sparse] trivial sparse fixes
This should contain all the changes which require no thought to make sparse happy. Signed-off-by: Ben Widawsky <benjamin.widawsky@intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.h')
-rw-r--r--drivers/gpu/drm/i915/i915_drv.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
index 422f424deb4c..303cee71b490 100644
--- a/drivers/gpu/drm/i915/i915_drv.h
+++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -1128,8 +1128,10 @@ extern void i915_driver_preclose(struct drm_device *dev,
1128extern void i915_driver_postclose(struct drm_device *dev, 1128extern void i915_driver_postclose(struct drm_device *dev,
1129 struct drm_file *file_priv); 1129 struct drm_file *file_priv);
1130extern int i915_driver_device_is_agp(struct drm_device * dev); 1130extern int i915_driver_device_is_agp(struct drm_device * dev);
1131#ifdef CONFIG_COMPAT
1131extern long i915_compat_ioctl(struct file *filp, unsigned int cmd, 1132extern long i915_compat_ioctl(struct file *filp, unsigned int cmd,
1132 unsigned long arg); 1133 unsigned long arg);
1134#endif
1133extern int i915_emit_box(struct drm_device *dev, 1135extern int i915_emit_box(struct drm_device *dev,
1134 struct drm_clip_rect *box, 1136 struct drm_clip_rect *box,
1135 int DR1, int DR4); 1137 int DR1, int DR4);