aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorHannes Eder <hannes@hanneseder.net>2008-12-18 09:09:00 -0500
committerDave Airlie <airlied@linux.ie>2008-12-29 02:47:25 -0500
commit95281e352e19b670458563a5ca746195c183a98f (patch)
treef77a1d264d038e3dcf7b69eec3f97d06b62d6839 /drivers/gpu
parentb117763627ef4d24086801dd5f74c9eb2f487790 (diff)
drm/i915: fix sparse warnings: declare one-bit bitfield as unsigned
Signed-off-by: Hannes Eder <hannes@hanneseder.net> Signed-off-by: Eric Anholt <eric@anholt.net> Acked-by: Jesse Barnes <jbarnes@virtuousgeek.org> Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/i915/i915_drv.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
index cc2660580553..4756e5cd6b5e 100644
--- a/drivers/gpu/drm/i915/i915_drv.h
+++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -168,10 +168,10 @@ typedef struct drm_i915_private {
168 struct drm_display_mode *vbt_mode; /* if any */ 168 struct drm_display_mode *vbt_mode; /* if any */
169 169
170 /* Feature bits from the VBIOS */ 170 /* Feature bits from the VBIOS */
171 int int_tv_support:1; 171 unsigned int int_tv_support:1;
172 int lvds_dither:1; 172 unsigned int lvds_dither:1;
173 int lvds_vbt:1; 173 unsigned int lvds_vbt:1;
174 int int_crt_support:1; 174 unsigned int int_crt_support:1;
175 175
176 struct drm_i915_fence_reg fence_regs[16]; /* assume 965 */ 176 struct drm_i915_fence_reg fence_regs[16]; /* assume 965 */
177 int fence_reg_start; /* 4 if userland hasn't ioctl'd us yet */ 177 int fence_reg_start; /* 4 if userland hasn't ioctl'd us yet */