]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
staging: wilc1000: use 'u16' data type for config id parameter
authorAjay Singh <ajay.kathat@microchip.com>
Wed, 1 Aug 2018 11:10:59 +0000 (16:40 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 Aug 2018 07:41:37 +0000 (09:41 +0200)
Cleanup patch to use the correct data type 'u16' for keeping the WID
value in 'wilc_cfg_word' & 'wilc_cfg_str' structure.

Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_wlan_cfg.h

index 08092a5518404c41f9bd6818d57eea79f99e44fa..2aa7a9beb8d242a76ea27b7eca787816007cd0e3 100644 (file)
@@ -22,12 +22,12 @@ struct wilc_cfg_hword {
 };
 
 struct wilc_cfg_word {
-       u32 id;
+       u16 id;
        u32 val;
 };
 
 struct wilc_cfg_str {
-       u32 id;
+       u16 id;
        u8 *str;
 };