[PATCH 16/26] w35und: Convert WB_LOCALDESCRIPT typedef to struct wb35_local_para

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


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

diff --git a/drivers/staging/winbond/core.h b/drivers/staging/winbond/core.h
index 7d4bd5e..4dc6b71 100644
--- a/drivers/staging/winbond/core.h
+++ b/drivers/staging/winbond/core.h
@@ -14,7 +14,7 @@
struct wbsoft_priv {
u32 adapterIndex; // 20060703.4 Add for using padapterContext global adapter point

- WB_LOCALDESCRIPT sLocalPara; // Myself connected parameters
+ struct wb35_local_para sLocalPara; // Myself connected parameters

MLME_FRAME sMlmeFrame; // connect to peerSTA parameters

diff --git a/drivers/staging/winbond/localpara.h b/drivers/staging/winbond/localpara.h
index ebce37f..4e761b7 100644
--- a/drivers/staging/winbond/localpara.h
+++ b/drivers/staging/winbond/localpara.h
@@ -121,8 +121,7 @@ struct wb35_radio_off {
};

//===========================================================================
-typedef struct LOCAL_PARA
-{
+struct wb35_local_para {
u8 PermanentAddress[ MAC_ADDR_LENGTH + 2 ]; // read from EPROM, manufacture set for each NetCard
u8 ThisMacAddress[ MAC_ADDR_LENGTH + 2 ]; // the driver will use actually.

@@ -256,6 +255,6 @@ typedef struct LOCAL_PARA
u16 IE_Append_size;
u16 reserved_7;

-} WB_LOCALDESCRIPT, *PWB_LOCALDESCRIPT;
+};

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