diff options
author | Peter Huewe <peterhuewe@gmx.de> | 2013-02-04 01:54:32 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-02-04 22:46:27 +0400 |
commit | 8cedcc7022e40fa83339257e82e64754ca1c8b9a (patch) | |
tree | ff88ed3ac5271d62d7fa964d94f18c13be3dfd0a /drivers/staging/xgifb/XGIfb.h | |
parent | 44e1312c68e71a25f9f88ada7d124f5bbeaf879e (diff) | |
download | linux-8cedcc7022e40fa83339257e82e64754ca1c8b9a.tar.xz |
staging/xgifb: mttr must be (signed) int
The mttr field must be declared as signed int (as in every other fb
driver) for the mttr functions to work properly.
Moreover the value should be initialized with -1.
Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/xgifb/XGIfb.h')
-rw-r--r-- | drivers/staging/xgifb/XGIfb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/xgifb/XGIfb.h b/drivers/staging/xgifb/XGIfb.h index 80547983759b..af50362395d5 100644 --- a/drivers/staging/xgifb/XGIfb.h +++ b/drivers/staging/xgifb/XGIfb.h @@ -67,7 +67,7 @@ struct xgifb_video_info { unsigned long mmio_size; void __iomem *mmio_vbase; unsigned long vga_base; - unsigned long mtrr; + int mtrr; int video_bpp; int video_cmap_len; |