drm/i915: fix sparse warnings: declare one-bit bitfield as unsigned
authorHannes Eder <hannes@hanneseder.net>
Thu, 18 Dec 2008 14:09:00 +0000 (15:09 +0100)
committerDave Airlie <airlied@linux.ie>
Mon, 29 Dec 2008 07:47:25 +0000 (17:47 +1000)
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>
drivers/gpu/drm/i915/i915_drv.h

index cc26605805535897eed88d686bbf27596ce4f4b4..4756e5cd6b5e1142781c0dfe35b5f85aeb0df886 100644 (file)
@@ -168,10 +168,10 @@ typedef struct drm_i915_private {
        struct drm_display_mode *vbt_mode; /* if any */
 
        /* Feature bits from the VBIOS */
-       int int_tv_support:1;
-       int lvds_dither:1;
-       int lvds_vbt:1;
-       int int_crt_support:1;
+       unsigned int int_tv_support:1;
+       unsigned int lvds_dither:1;
+       unsigned int lvds_vbt:1;
+       unsigned int int_crt_support:1;
 
        struct drm_i915_fence_reg fence_regs[16]; /* assume 965 */
        int fence_reg_start; /* 4 if userland hasn't ioctl'd us yet */