summaryrefslogtreecommitdiffstats
path: root/drivers/staging/xgifb/XGI_main.h
diff options
context:
space:
mode:
authorAaro Koskinen <aaro.koskinen@iki.fi>2011-08-29 23:14:31 +0300
committerGreg Kroah-Hartman <gregkh@suse.de>2011-09-06 11:41:25 -0700
commit44d0244021b951a5473ae96107847f83a9511ed8 (patch)
treeb34cc5a82e6eb9afefbd2cd96bbb5b014191d219 /drivers/staging/xgifb/XGI_main.h
parentc8bec1f067b08a7a3baa66e6d8ab98aeda7df8d2 (diff)
downloadop-kernel-dev-44d0244021b951a5473ae96107847f83a9511ed8.zip
op-kernel-dev-44d0244021b951a5473ae96107847f83a9511ed8.tar.gz
staging: xgifb: correct the default mode comment
According to the comment, the default mode should be 800x600x8 while the index points actually to 800x600x16. Change the comment and move the definition instead of changing the current behaviour. Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/xgifb/XGI_main.h')
-rw-r--r--drivers/staging/xgifb/XGI_main.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/xgifb/XGI_main.h b/drivers/staging/xgifb/XGI_main.h
index 35b1e9f..d3d58c0 100644
--- a/drivers/staging/xgifb/XGI_main.h
+++ b/drivers/staging/xgifb/XGI_main.h
@@ -253,9 +253,9 @@ static struct _XGIbios_mode {
MD_XGI300|MD_XGI315},
{"800x480x32", 0x76, 0x0000, 0x0000, 800, 480, 32, 1, 100, 30,
MD_XGI300|MD_XGI315},
-#define DEFAULT_MODE 21 /* TW: index for 800x600x8 */
{"800x600x8", 0x30, 0x0103, 0x0103, 800, 600, 8, 1, 100, 37,
MD_XGI300|MD_XGI315},
+#define DEFAULT_MODE 21 /* index for 800x600x16 */
{"800x600x16", 0x47, 0x0114, 0x0114, 800, 600, 16, 1, 100, 37,
MD_XGI300|MD_XGI315},
{"800x600x24", 0x63, 0x013b, 0x0115, 800, 600, 32, 1, 100, 37,
OpenPOWER on IntegriCloud