]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: xgifb: correct the default mode comment
authorAaro Koskinen <aaro.koskinen@iki.fi>
Mon, 29 Aug 2011 20:14:31 +0000 (23:14 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 6 Sep 2011 18:41:25 +0000 (11:41 -0700)
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>
drivers/staging/xgifb/XGI_main.h

index 35b1e9f8c2e2921171de543c146a72e2c0245200..d3d58c0d56d66366d3d5240db695d3ac169936f9 100644 (file)
@@ -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,