diff options
author | Aaro Koskinen <aaro.koskinen@iki.fi> | 2013-03-27 23:53:14 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-03-28 16:10:16 -0700 |
commit | d8e7567e537e32a9309f10e59c72abfb1e6645d8 (patch) | |
tree | e433728db8c23db161d1d7cb736446597503382a /drivers/staging/xgifb/vb_table.h | |
parent | d7ab4a4f5bb7438650d7384288f43c2095072307 (diff) | |
download | blackbird-obmc-linux-d8e7567e537e32a9309f10e59c72abfb1e6645d8.tar.gz blackbird-obmc-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] = { |