dect
/
linux-2.6
Archived
13
0
Fork 0

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>
This commit is contained in:
Hannes Eder 2008-12-18 15:09:00 +01:00 committed by Dave Airlie
parent b117763627
commit 95281e352e
1 changed files with 4 additions and 4 deletions

View 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 */