This patch removes typedef from struct wilc_cfg_hword_t and renames it
to wilc_cfg_hword.

Signed-off-by: Chaehyun Lim <chaehyun....@gmail.com>
---
 drivers/staging/wilc1000/wilc_wlan_cfg.c | 2 +-
 drivers/staging/wilc1000/wilc_wlan_cfg.h | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/wilc1000/wilc_wlan_cfg.c 
b/drivers/staging/wilc1000/wilc_wlan_cfg.c
index 54b394c..003f2af 100644
--- a/drivers/staging/wilc1000/wilc_wlan_cfg.c
+++ b/drivers/staging/wilc1000/wilc_wlan_cfg.c
@@ -87,7 +87,7 @@ static struct wilc_cfg_byte g_cfg_byte[] = {
        {WID_NIL, 0}
 };
 
-static wilc_cfg_hword_t g_cfg_hword[] = {
+static struct wilc_cfg_hword g_cfg_hword[] = {
        {WID_LINK_LOSS_THRESHOLD, 0},
        {WID_RTS_THRESHOLD, 0},
        {WID_FRAG_THRESHOLD, 0},
diff --git a/drivers/staging/wilc1000/wilc_wlan_cfg.h 
b/drivers/staging/wilc1000/wilc_wlan_cfg.h
index d978615..aed7b80 100644
--- a/drivers/staging/wilc1000/wilc_wlan_cfg.h
+++ b/drivers/staging/wilc1000/wilc_wlan_cfg.h
@@ -15,10 +15,10 @@ struct wilc_cfg_byte {
        u16 val;
 };
 
-typedef struct {
+struct wilc_cfg_hword {
        u16 id;
        u16 val;
-} wilc_cfg_hword_t;
+};
 
 typedef struct {
        u32 id;
-- 
2.6.4

_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to