[PATCH 20/26] w35und: Convert R01_DESCRIPTOR typedef to struct wb35_R01_descriptor

From: Pekka Enberg
Date: Mon Mar 01 2010 - 10:15:06 EST


Cc: Pavel Machek <pavel@xxxxxx>
Signed-off-by: Pekka Enberg <penberg@xxxxxxxxxxxxxx>
---
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

--
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/