diff options
author | Aaro Koskinen | 2013-03-27 22:53:14 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2013-03-29 00:10:16 +0100 |
commit | d8e7567e537e32a9309f10e59c72abfb1e6645d8 (patch) | |
tree | e433728db8c23db161d1d7cb736446597503382a /drivers/staging/xgifb/vb_table.h | |
parent | staging: xgifb: XGINew_SetDRAMDefaultRegister340: inline the value of SR1B (diff) | |
download | kernel-qcow2-linux-d8e7567e537e32a9309f10e59c72abfb1e6645d8.tar.gz kernel-qcow2-linux-d8e7567e537e32a9309f10e59c72abfb1e6645d8.tar.xz kernel-qcow2-linux-d8e7567e537e32a9309f10e59c72abfb1e6645d8.zip |
staging: xgifb: make SR15/SR13 arrays single dimensional
Since we only access the third row, we can delete the others.
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 | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/drivers/staging/xgifb/vb_table.h b/drivers/staging/xgifb/vb_table.h index 38ae55455830..f8735944631b 100644 --- a/drivers/staging/xgifb/vb_table.h +++ b/drivers/staging/xgifb/vb_table.h @@ -18,16 +18,12 @@ const struct XGI_ECLKDataStruct XGI340_ECLKData[] = { {0x7C, 0x08, 0x01, 200}, }; -static const unsigned char XG27_SR13[3][3] = { - {0x35, 0x45, 0xb1}, /* SR13 */ - {0x41, 0x51, 0x5c}, /* SR14 */ - {0x32, 0x32, 0x42}, /* SR18 */ +static const unsigned char XG27_SR13[3] = { + 0x32, 0x32, 0x42 /* SR18 */ }; -static const unsigned char XGI340_SR13[3][3] = { - {0x35, 0x45, 0xb1}, /* SR13 */ - {0x41, 0x51, 0x5c}, /* SR14 */ - {0x31, 0x42, 0x42}, /* SR18 */ +static const unsigned char XGI340_SR13[3] = { + 0x31, 0x42, 0x42 /* SR18 */ }; static const unsigned char XGI340_cr41[24][3] = { |