lkml.org 
[lkml]   [2010]   [Mar]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 20/26] w35und: Convert R01_DESCRIPTOR typedef to struct wb35_R01_descriptor
    Date
    Cc: Pavel Machek <pavel@ucw.cz>
    Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
    ---
    drivers/staging/winbond/wbhal_s.h | 7 +++----
    1 files changed, 3 insertions(+), 4 deletions(-)

    diff --git a/drivers/staging/winbond/wbhal_s.h b/drivers/staging/winbond/wbhal_s.h
    index 67cddb5..e772fad 100644
    --- a/drivers/staging/winbond/wbhal_s.h
    +++ b/drivers/staging/winbond/wbhal_s.h
    @@ -168,8 +168,7 @@ typedef struct _T00_DESCRIPTOR
    };
    } T00_DESCRIPTOR, *PT00_DESCRIPTOR;

    -typedef struct _R01_DESCRIPTOR
    -{
    +struct wb35_R01_descriptor {
    union
    {
    u32 value;
    @@ -221,7 +220,7 @@ typedef struct _R01_DESCRIPTOR
    };
    #endif
    };
    -} R01_DESCRIPTOR, *PR01_DESCRIPTOR;
    +};

    typedef struct _T01_DESCRIPTOR
    {
    @@ -338,7 +337,7 @@ struct wb35_descriptor { // Skip length = 8 DWORD
    // For R01 and T01 ----------------------------------------------
    union
    {
    - R01_DESCRIPTOR R01;
    + struct wb35_R01_descriptor R01;
    T01_DESCRIPTOR T01;
    };

    --
    1.6.3.3


    \
     
     \ /
      Last update: 2010-03-01 16:19    [W:0.040 / U:3.740 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site