diff options
author | Aaro Koskinen <aaro.koskinen@iki.fi> | 2012-11-04 21:14:59 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-13 12:54:21 -0800 |
commit | 224114c788c7445aa90245ada7baa46296a06701 (patch) | |
tree | 4ebe9aaa2070954a2c14efd163e56b8357677291 /drivers/staging/xgifb/vb_table.h | |
parent | acfe093e8227213f62e86b492b01adc9190f0546 (diff) | |
download | linux-stable-224114c788c7445aa90245ada7baa46296a06701.tar.gz linux-stable-224114c788c7445aa90245ada7baa46296a06701.tar.bz2 linux-stable-224114c788c7445aa90245ada7baa46296a06701.zip |
staging: xgifb: eliminate pVBInfo->ScreenOffset
Access XGI330_ScreenOffset directly and make it const.
Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/xgifb/vb_table.h')
-rw-r--r-- | drivers/staging/xgifb/vb_table.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/xgifb/vb_table.h b/drivers/staging/xgifb/vb_table.h index ea133adb0ebf..453c52861043 100644 --- a/drivers/staging/xgifb/vb_table.h +++ b/drivers/staging/xgifb/vb_table.h @@ -2117,7 +2117,7 @@ const struct XGI_Ext2Struct XGI330_RefIndex[] = { 0x30, 0x47, 0x37, 1024, 768},/* 48 1024x768x160Hz */ }; -static unsigned char XGI330_ScreenOffset[] = { +static const unsigned char XGI330_ScreenOffset[] = { 0x14, 0x19, 0x20, 0x28, 0x32, 0x40, 0x50, 0x64, 0x78, 0x80, 0x2d, 0x35, 0x57, 0x48 |