staging: xgifb: delete LCD_SetFlag
authorAaro Koskinen <aaro.koskinen@iki.fi>
Wed, 27 Mar 2013 21:53:09 +0000 (23:53 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Mar 2013 23:10:15 +0000 (16:10 -0700)
Delete redundant XGI330_LCDCapStruct field.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/xgifb/vb_def.h
drivers/staging/xgifb/vb_struct.h
drivers/staging/xgifb/vb_table.h

index 148f6373c9a264e3848eeddf7e96b06e9a47d8de..80c972305885babd09f61a0c1db00ddae2b0475d 100644 (file)
 #define EnableVBCLKDRVLOW    0x4000
 #define EnablePLLSPLOW       0x8000
 
-#define LCDBToA              0x20   /* LCD SetFlag */
-#define StLCDBToA            0x40
-#define LockLCDBToA          0x80
-#define   LCDToFull          0x10
 #define AVIDEOSense          0x01   /* CR32 */
 #define SVIDEOSense          0x02
 #define SCARTSense           0x04
index 89dc31a0e2370ddeb71603d5e201b57a060e6c0f..a4156fd7ecf0c7a036deeb57068d460cfc861d40 100644 (file)
@@ -81,7 +81,6 @@ struct XGI_XG21CRT1Struct {
 struct XGI330_LCDCapStruct {
        unsigned char   LCD_ID;
        unsigned short  LCD_Capability;
-       unsigned char   LCD_SetFlag;
        unsigned char   LCD_HSyncWidth;
        unsigned char   LCD_VSyncWidth;
        unsigned char   LCD_VCLK;
index b4c05c80b9371768647e4e8ec619f581c592b73a..61f00624525413236b8a1279a731a3bf641b0ec4 100644 (file)
@@ -1867,70 +1867,70 @@ static const struct XGI330_TVDataTablStruct XGI_TVDataTable[] = {
 /* Dual link only */
 static const struct XGI330_LCDCapStruct XGI_LCDDLCapList[] = {
 /* LCDCap1024x768 */
-       {Panel_1024x768, DefaultLCDCap, 0, 0x88, 0x06, VCLK65_315,
+       {Panel_1024x768, DefaultLCDCap, 0x88, 0x06, VCLK65_315,
        0x6C, 0xC3, 0x35, 0x62, 0x02, 0x14, 0x0A, 0x02, 0x00,
        0x30, 0x10, 0x5A, 0x10, 0x10, 0x0A, 0xC0, 0x28, 0x10},
 /* LCDCap1280x1024 */
-       {Panel_1280x1024, XGI_LCDDualLink+DefaultLCDCap, StLCDBToA,
+       {Panel_1280x1024, XGI_LCDDualLink+DefaultLCDCap,
        0x70, 0x03, VCLK108_2_315,
        0x70, 0x44, 0xF8, 0x2F, 0x02, 0x14, 0x0A, 0x02, 0x00,
        0x30, 0x10, 0x5A, 0x10, 0x10, 0x0A, 0xC0, 0x30, 0x10},
 /* LCDCap1400x1050 */
-       {Panel_1400x1050, XGI_LCDDualLink+DefaultLCDCap, StLCDBToA,
+       {Panel_1400x1050, XGI_LCDDualLink+DefaultLCDCap,
        0x70, 0x03, VCLK108_2_315,
         0x70, 0x44, 0xF8, 0x2F, 0x02, 0x14, 0x0A, 0x02, 0x00,
         0x30, 0x10, 0x5A, 0x10, 0x10, 0x0A, 0xC0, 0x30, 0x10},
 /* LCDCap1600x1200 */
-       {Panel_1600x1200, XGI_LCDDualLink+DefaultLCDCap, LCDToFull,
+       {Panel_1600x1200, XGI_LCDDualLink+DefaultLCDCap,
        0xC0, 0x03, VCLK162,
         0x43, 0x22, 0x70, 0x24, 0x02, 0x14, 0x0A, 0x02, 0x00,
         0x30, 0x10, 0x5A, 0x10, 0x10, 0x0A, 0xC0, 0x30, 0x10},
 /* LCDCap1024x768x75 */
-       {Panel_1024x768x75, DefaultLCDCap, 0, 0x60, 0, VCLK78_75,
+       {Panel_1024x768x75, DefaultLCDCap, 0x60, 0, VCLK78_75,
         0x2B, 0x61, 0x2B, 0x61, 0x02, 0x14, 0x0A, 0x02, 0x00,
         0x30, 0x10, 0x5A, 0x10, 0x10, 0x0A, 0xC0, 0x28, 0x10},
 /* LCDCap1280x1024x75 */
-       {Panel_1280x1024x75, XGI_LCDDualLink+DefaultLCDCap, StLCDBToA,
+       {Panel_1280x1024x75, XGI_LCDDualLink+DefaultLCDCap,
         0x90, 0x03, VCLK135_5,
         0x54, 0x42, 0x4A, 0x61, 0x02, 0x14, 0x0A, 0x02, 0x00,
         0x30, 0x10, 0x5A, 0x10, 0x10, 0x0A, 0xC0, 0x30, 0x10},
 /* LCDCapDefault */
-       {0xFF, DefaultLCDCap, 0, 0x88, 0x06, VCLK65_315,
+       {0xFF, DefaultLCDCap, 0x88, 0x06, VCLK65_315,
        0x6C, 0xC3, 0x35, 0x62, 0x02, 0x14, 0x0A, 0x02, 0x00,
        0x30, 0x10, 0x5A, 0x10, 0x10, 0x0A, 0xC0, 0x28, 0x10}
 };
 
 static const struct XGI330_LCDCapStruct XGI_LCDCapList[] = {
 /* LCDCap1024x768 */
-       {Panel_1024x768, DefaultLCDCap, 0, 0x88, 0x06, VCLK65_315,
+       {Panel_1024x768, DefaultLCDCap, 0x88, 0x06, VCLK65_315,
        0x6C, 0xC3, 0x35, 0x62, 0x02, 0x14, 0x0A, 0x02, 0x00,
        0x30, 0x10, 0x5A, 0x10, 0x10, 0x0A, 0xC0, 0x28, 0x10},
 /* LCDCap1280x1024 */
-       {Panel_1280x1024, DefaultLCDCap, StLCDBToA,
+       {Panel_1280x1024, DefaultLCDCap,
        0x70, 0x03, VCLK108_2_315,
        0x70, 0x44, 0xF8, 0x2F, 0x02, 0x14, 0x0A, 0x02, 0x00,
        0x30, 0x10, 0x5A, 0x10, 0x10, 0x0A, 0xC0, 0x30, 0x10},
 /* LCDCap1400x1050 */
-       {Panel_1400x1050, DefaultLCDCap, StLCDBToA,
+       {Panel_1400x1050, DefaultLCDCap,
         0x70, 0x03, VCLK108_2_315,
         0x70, 0x44, 0xF8, 0x2F, 0x02, 0x14, 0x0A, 0x02, 0x00,
         0x30, 0x10, 0x5A, 0x10, 0x10, 0x0A, 0xC0, 0x30, 0x10},
 /* LCDCap1600x1200 */
-       {Panel_1600x1200, DefaultLCDCap, LCDToFull,
+       {Panel_1600x1200, DefaultLCDCap,
         0xC0, 0x03, VCLK162,
         0x5A, 0x23, 0x5A, 0x23, 0x02, 0x14, 0x0A, 0x02, 0x00,
         0x30, 0x10, 0x5A, 0x10, 0x10, 0x0A, 0xC0, 0x30, 0x10},
 /* LCDCap1024x768x75 */
-       {Panel_1024x768x75, DefaultLCDCap, 0, 0x60, 0, VCLK78_75,
+       {Panel_1024x768x75, DefaultLCDCap, 0x60, 0, VCLK78_75,
         0x2B, 0x61, 0x2B, 0x61, 0x02, 0x14, 0x0A, 0x02, 0x00,
         0x30, 0x10, 0x5A, 0x10, 0x10, 0x0A, 0xC0, 0x28, 0x10},
 /* LCDCap1280x1024x75 */
-       {Panel_1280x1024x75, DefaultLCDCap, StLCDBToA,
+       {Panel_1280x1024x75, DefaultLCDCap,
         0x90, 0x03, VCLK135_5,
         0x54, 0x42, 0x4A, 0x61, 0x02, 0x14, 0x0A, 0x02, 0x00,
         0x30, 0x10, 0x5A, 0x10, 0x10, 0x0A, 0xC0, 0x30, 0x10},
 /* LCDCapDefault */
-       {0xFF, DefaultLCDCap, 0, 0x88, 0x06, VCLK65_315,
+       {0xFF, DefaultLCDCap, 0x88, 0x06, VCLK65_315,
        0x6C, 0xC3, 0x35, 0x62, 0x02, 0x14, 0x0A, 0x02, 0x00,
        0x30, 0x10, 0x5A, 0x10, 0x10, 0x0A, 0xC0, 0x28, 0x10}
 };