staging/xgifb: mttr must be (signed) int
authorPeter Huewe <peterhuewe@gmx.de>
Sun, 3 Feb 2013 21:54:32 +0000 (22:54 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 4 Feb 2013 18:46:27 +0000 (10:46 -0800)
commit8cedcc7022e40fa83339257e82e64754ca1c8b9a
treeff88ed3ac5271d62d7fa964d94f18c13be3dfd0a
parent44e1312c68e71a25f9f88ada7d124f5bbeaf879e
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>
drivers/staging/xgifb/XGI_main_26.c
drivers/staging/xgifb/XGIfb.h