lkml.org 
[lkml]   [2012]   [Jun]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH 2/7] staging: vt6656: int.h: Fix indentation and spacing
    We use tabs for indentation and once space between variable types and
    variable name.

    Signed-off-by: Jesper Juhl <jj@chaosbits.net>
    ---
    drivers/staging/vt6656/int.h | 42 +++++++++++++++++++++---------------------
    1 file changed, 21 insertions(+), 21 deletions(-)

    diff --git a/drivers/staging/vt6656/int.h b/drivers/staging/vt6656/int.h
    index 3098630..3734e2c 100644
    --- a/drivers/staging/vt6656/int.h
    +++ b/drivers/staging/vt6656/int.h
    @@ -36,27 +36,27 @@
    /*--------------------- Export Definitions -------------------------*/
    #pragma pack(1)
    typedef struct tagSINTData {
    - BYTE byTSR0;
    - BYTE byPkt0;
    - WORD wTime0;
    - BYTE byTSR1;
    - BYTE byPkt1;
    - WORD wTime1;
    - BYTE byTSR2;
    - BYTE byPkt2;
    - WORD wTime2;
    - BYTE byTSR3;
    - BYTE byPkt3;
    - WORD wTime3;
    - DWORD dwLoTSF;
    - DWORD dwHiTSF;
    - BYTE byISR0;
    - BYTE byISR1;
    - BYTE byRTSSuccess;
    - BYTE byRTSFail;
    - BYTE byACKFail;
    - BYTE byFCSErr;
    - BYTE abySW[2];
    + BYTE byTSR0;
    + BYTE byPkt0;
    + WORD wTime0;
    + BYTE byTSR1;
    + BYTE byPkt1;
    + WORD wTime1;
    + BYTE byTSR2;
    + BYTE byPkt2;
    + WORD wTime2;
    + BYTE byTSR3;
    + BYTE byPkt3;
    + WORD wTime3;
    + DWORD dwLoTSF;
    + DWORD dwHiTSF;
    + BYTE byISR0;
    + BYTE byISR1;
    + BYTE byRTSSuccess;
    + BYTE byRTSFail;
    + BYTE byACKFail;
    + BYTE byFCSErr;
    + BYTE abySW[2];
    } __attribute__ ((__packed__))
    SINTData, *PSINTData;

    --
    1.7.11.1

    --
    Jesper Juhl <jj@chaosbits.net> http://www.chaosbits.net/
    Don't top-post http://www.catb.org/jargon/html/T/top-post.html
    Plain text mails only, please.



    \
     
     \ /
      Last update: 2012-06-27 22:21    [W:0.035 / U:0.160 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site