Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=ecb8b190bcf49e67a6bd955340ecc07d243b6efa
Commit:     ecb8b190bcf49e67a6bd955340ecc07d243b6efa
Parent:     7c59901421e22cff3fa9b8ea83e7a2fe37951497
Author:     Felipe Balbi <[EMAIL PROTECTED]>
AuthorDate: Fri Aug 10 16:04:56 2007 -0400
Committer:  Greg Kroah-Hartman <[EMAIL PROTECTED]>
CommitDate: Fri Oct 12 14:55:13 2007 -0700

    USB: SisUSB2VGA: Lindent drivers/usb/misc/sisusbvga/sisusb_struct.h
    
    Better indentation
    
    Signed-off-by: Felipe Balbi <[EMAIL PROTECTED]>
    Cc: Thomas Winischhofer <[EMAIL PROTECTED]>
    Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
 drivers/usb/misc/sisusbvga/sisusb_struct.h |  142 +++++++++++++---------------
 1 files changed, 67 insertions(+), 75 deletions(-)

diff --git a/drivers/usb/misc/sisusbvga/sisusb_struct.h 
b/drivers/usb/misc/sisusbvga/sisusb_struct.h
index 9def598..1c4240e 100644
--- a/drivers/usb/misc/sisusbvga/sisusb_struct.h
+++ b/drivers/usb/misc/sisusbvga/sisusb_struct.h
@@ -52,85 +52,78 @@
 #define _SISUSB_STRUCT_H_
 
 struct SiS_St {
-       unsigned char   St_ModeID;
-       unsigned short  St_ModeFlag;
-       unsigned char   St_StTableIndex;
-       unsigned char   St_CRT2CRTC;
-       unsigned char   St_ResInfo;
-       unsigned char   VB_StTVFlickerIndex;
-       unsigned char   VB_StTVEdgeIndex;
-       unsigned char   VB_StTVYFilterIndex;
-       unsigned char   St_PDC;
+       unsigned char St_ModeID;
+       unsigned short St_ModeFlag;
+       unsigned char St_StTableIndex;
+       unsigned char St_CRT2CRTC;
+       unsigned char St_ResInfo;
+       unsigned char VB_StTVFlickerIndex;
+       unsigned char VB_StTVEdgeIndex;
+       unsigned char VB_StTVYFilterIndex;
+       unsigned char St_PDC;
 };
 
-struct SiS_StandTable
-{
-       unsigned char   CRT_COLS;
-       unsigned char   ROWS;
-       unsigned char   CHAR_HEIGHT;
-       unsigned short  CRT_LEN;
-       unsigned char   SR[4];
-       unsigned char   MISC;
-       unsigned char   CRTC[0x19];
-       unsigned char   ATTR[0x14];
-       unsigned char   GRC[9];
+struct SiS_StandTable {
+       unsigned char CRT_COLS;
+       unsigned char ROWS;
+       unsigned char CHAR_HEIGHT;
+       unsigned short CRT_LEN;
+       unsigned char SR[4];
+       unsigned char MISC;
+       unsigned char CRTC[0x19];
+       unsigned char ATTR[0x14];
+       unsigned char GRC[9];
 };
 
 struct SiS_StResInfo_S {
-       unsigned short  HTotal;
-       unsigned short  VTotal;
+       unsigned short HTotal;
+       unsigned short VTotal;
 };
 
-struct SiS_Ext
-{
-       unsigned char   Ext_ModeID;
-       unsigned short  Ext_ModeFlag;
-       unsigned short  Ext_VESAID;
-       unsigned char   Ext_RESINFO;
-       unsigned char   VB_ExtTVFlickerIndex;
-       unsigned char   VB_ExtTVEdgeIndex;
-       unsigned char   VB_ExtTVYFilterIndex;
-       unsigned char   VB_ExtTVYFilterIndexROM661;
-       unsigned char   REFindex;
-       char            ROMMODEIDX661;
+struct SiS_Ext {
+       unsigned char Ext_ModeID;
+       unsigned short Ext_ModeFlag;
+       unsigned short Ext_VESAID;
+       unsigned char Ext_RESINFO;
+       unsigned char VB_ExtTVFlickerIndex;
+       unsigned char VB_ExtTVEdgeIndex;
+       unsigned char VB_ExtTVYFilterIndex;
+       unsigned char VB_ExtTVYFilterIndexROM661;
+       unsigned char REFindex;
+       char ROMMODEIDX661;
 };
 
-struct SiS_Ext2
-{
-       unsigned short  Ext_InfoFlag;
-       unsigned char   Ext_CRT1CRTC;
-       unsigned char   Ext_CRTVCLK;
-       unsigned char   Ext_CRT2CRTC;
-       unsigned char   Ext_CRT2CRTC_NS;
-       unsigned char   ModeID;
-       unsigned short  XRes;
-       unsigned short  YRes;
-       unsigned char   Ext_PDC;
-       unsigned char   Ext_FakeCRT2CRTC;
-       unsigned char   Ext_FakeCRT2Clk;
+struct SiS_Ext2 {
+       unsigned short Ext_InfoFlag;
+       unsigned char Ext_CRT1CRTC;
+       unsigned char Ext_CRTVCLK;
+       unsigned char Ext_CRT2CRTC;
+       unsigned char Ext_CRT2CRTC_NS;
+       unsigned char ModeID;
+       unsigned short XRes;
+       unsigned short YRes;
+       unsigned char Ext_PDC;
+       unsigned char Ext_FakeCRT2CRTC;
+       unsigned char Ext_FakeCRT2Clk;
 };
 
-struct SiS_CRT1Table
-{
-       unsigned char   CR[17];
+struct SiS_CRT1Table {
+       unsigned char CR[17];
 };
 
-struct SiS_VCLKData
-{
-       unsigned char   SR2B,SR2C;
-       unsigned short  CLOCK;
+struct SiS_VCLKData {
+       unsigned char SR2B, SR2C;
+       unsigned short CLOCK;
 };
 
-struct SiS_ModeResInfo
-{
-       unsigned short  HTotal;
-       unsigned short  VTotal;
-       unsigned char   XChar;
-       unsigned char   YChar;
+struct SiS_ModeResInfo {
+       unsigned short HTotal;
+       unsigned short VTotal;
+       unsigned char XChar;
+       unsigned char YChar;
 };
 
-struct SiS_Private
-{
+struct SiS_Private {
        void *sisusb;
 
        unsigned long IOAddress;
@@ -151,19 +144,18 @@ struct SiS_Private
        unsigned long SiS_P3da;
        unsigned long SiS_Part1Port;
 
-       unsigned char   SiS_MyCR63;
-       unsigned short  SiS_CRT1Mode;
-       unsigned short  SiS_ModeType;
-       unsigned short  SiS_SetFlag;
-
-       const struct SiS_StandTable     *SiS_StandTable;
-       const struct SiS_St             *SiS_SModeIDTable;
-       const struct SiS_Ext            *SiS_EModeIDTable;
-       const struct SiS_Ext2           *SiS_RefIndex;
-       const struct SiS_CRT1Table      *SiS_CRT1Table;
-       const struct SiS_VCLKData       *SiS_VCLKData;
-       const struct SiS_ModeResInfo    *SiS_ModeResInfo;
+       unsigned char SiS_MyCR63;
+       unsigned short SiS_CRT1Mode;
+       unsigned short SiS_ModeType;
+       unsigned short SiS_SetFlag;
+
+       const struct SiS_StandTable *SiS_StandTable;
+       const struct SiS_St *SiS_SModeIDTable;
+       const struct SiS_Ext *SiS_EModeIDTable;
+       const struct SiS_Ext2 *SiS_RefIndex;
+       const struct SiS_CRT1Table *SiS_CRT1Table;
+       const struct SiS_VCLKData *SiS_VCLKData;
+       const struct SiS_ModeResInfo *SiS_ModeResInfo;
 };
 
 #endif
-
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to