[PATCH 19/26] w35und: Convert R00_DESCRIPTOR typedef to struct wb35_R00_descriptor

From: Pekka Enberg
Date: Mon Mar 01 2010 - 10:14:33 EST


Cc: Pavel Machek <pavel@xxxxxx>
Signed-off-by: Pekka Enberg <penberg@xxxxxxxxxxxxxx>
---
drivers/staging/winbond/wb35rx.c | 2 +-
drivers/staging/winbond/wbhal_s.h | 7 +++----
2 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/drivers/staging/winbond/wb35rx.c b/drivers/staging/winbond/wb35rx.c
index 4d41f6c..b7abee6 100644
--- a/drivers/staging/winbond/wb35rx.c
+++ b/drivers/staging/winbond/wb35rx.c
@@ -168,7 +168,7 @@ static void Wb35Rx_Complete(struct urb *urb)
u32 SizeCheck;
u16 BulkLength;
u32 RxBufferId;
- R00_DESCRIPTOR R00;
+ struct wb35_R00_descriptor R00;

// Variable setting
pWb35Rx->EP3vm_state = VM_COMPLETED;
diff --git a/drivers/staging/winbond/wbhal_s.h b/drivers/staging/winbond/wbhal_s.h
index 372a05e..67cddb5 100644
--- a/drivers/staging/winbond/wbhal_s.h
+++ b/drivers/staging/winbond/wbhal_s.h
@@ -107,8 +107,7 @@ enum {

#define FLAG_BAND_RX_MASK 0x10000000 //Bit 28

-typedef struct _R00_DESCRIPTOR
-{
+struct wb35_R00_descriptor {
union
{
u32 value;
@@ -132,7 +131,7 @@ typedef struct _R00_DESCRIPTOR
};
#endif
};
-} R00_DESCRIPTOR, *PR00_DESCRIPTOR;
+};

typedef struct _T00_DESCRIPTOR
{
@@ -332,7 +331,7 @@ struct wb35_descriptor { // Skip length = 8 DWORD
// For R00 and T00 ----------------------------------------------
union
{
- R00_DESCRIPTOR R00;
+ struct wb35_R00_descriptor R00;
T00_DESCRIPTOR T00;
};

--
1.6.3.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/