summaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2006-08-22 10:10:56 +1000
committerDave Airlie <airlied@linux.ie>2006-08-22 10:10:56 +1000
commitd5afabcea215a828eb00df992b429486aae14c2f (patch)
tree2240740ef681c008bdb9ddd8f4c2fbb85f7562cb /drivers/video
parentd463d34e7b336ae3645ac331adccb578ae5a4285 (diff)
intelfb: fix mtrr_reg signedness
This is my fix for gcc 4.1 sign issue reported by Eric Sesterhenn <snakebyte@gmx.de>. Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/intelfb/intelfb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/intelfb/intelfb.h b/drivers/video/intelfb/intelfb.h
index abdadc2a1b4..80b94c19a9f 100644
--- a/drivers/video/intelfb/intelfb.h
+++ b/drivers/video/intelfb/intelfb.h
@@ -278,7 +278,7 @@ struct intelfb_info {
u8 fbmem_gart;
/* mtrr support */
- u32 mtrr_reg;
+ int mtrr_reg;
u32 has_mtrr;
/* heap data */