summaryrefslogtreecommitdiffstats
path: root/drivers/staging/xgifb/vb_table.h
diff options
context:
space:
mode:
authorAaro Koskinen2012-11-04 20:14:55 +0100
committerGreg Kroah-Hartman2012-11-13 21:54:20 +0100
commit7c5c07a611069a97aafc316d701da7bd08de14ee (patch)
tree156e78cc84dc34b0164ccc46e04455e83cc0ba22 /drivers/staging/xgifb/vb_table.h
parentstaging: xgifb: eliminate pVBInfo->XGINEWUB_CRT1Table (diff)
downloadkernel-qcow2-linux-7c5c07a611069a97aafc316d701da7bd08de14ee.tar.gz
kernel-qcow2-linux-7c5c07a611069a97aafc316d701da7bd08de14ee.tar.xz
kernel-qcow2-linux-7c5c07a611069a97aafc316d701da7bd08de14ee.zip
staging: xgifb: eliminate pVBInfo->UpdateCRT1
Access XGI_UpdateCRT1Table 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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/xgifb/vb_table.h b/drivers/staging/xgifb/vb_table.h
index e83c4259ce28..c08c04eaad0e 100644
--- a/drivers/staging/xgifb/vb_table.h
+++ b/drivers/staging/xgifb/vb_table.h
@@ -216,7 +216,7 @@ static const struct SiS_StandTable_S XGI330_StandTable = {
0xff}
};
-static struct XGI_XG21CRT1Struct XGI_UpdateCRT1Table[] = {
+static const struct XGI_XG21CRT1Struct XGI_UpdateCRT1Table[] = {
{0x01, 0x27, 0x91, 0x8f, 0xc0}, /* 00 */
{0x03, 0x4f, 0x83, 0x8f, 0xc0}, /* 01 */
{0x05, 0x27, 0x91, 0x8f, 0xc0}, /* 02 */