aboutsummaryrefslogtreecommitdiff
path: root/drivers/char/drm/via_ds.h
diff options
context:
space:
mode:
authorAlexey Dobriyan2005-07-27 11:43:56 -0700
committerLinus Torvalds2005-07-27 16:25:54 -0700
commitbbaf364103cee15c895e2086723d0ad9ef47ae99 (patch)
tree50ba44d1a55f00c2d328a6943acc4495337b7020 /drivers/char/drm/via_ds.h
parentdb1de1595d03d3ddea3e0548b20decb0a32e4258 (diff)
[PATCH] drm: via: fix sparse warnings
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Cc: Dave Airlie <airlied@linux.ie> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/char/drm/via_ds.h')
-rw-r--r--drivers/char/drm/via_ds.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/drm/via_ds.h b/drivers/char/drm/via_ds.h
index be9c7f9f1aee..d2bb9f37ca38 100644
--- a/drivers/char/drm/via_ds.h
+++ b/drivers/char/drm/via_ds.h
@@ -61,8 +61,8 @@ struct mem_block_t {
struct mem_block_t *heap;
int ofs, size;
int align;
- int free:1;
- int reserved:1;
+ unsigned int free:1;
+ unsigned int reserved:1;
};
typedef struct mem_block_t TMemBlock;
typedef struct mem_block_t *PMemBlock;