OSDN Git Service

staging: wilc1000: changes 'val' type to u8 in wilc_cfg_byte struct
authorAjay Singh <ajay.kathat@microchip.com>
Tue, 25 Sep 2018 06:23:28 +0000 (11:53 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 25 Sep 2018 18:53:56 +0000 (20:53 +0200)
Use the correct datatype for storing the byte value in 'wilc_cfg_byte'
struct.

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 189e617..082093f 100644 (file)
@@ -9,7 +9,7 @@
 
 struct wilc_cfg_byte {
        u16 id;
-       u16 val;
+       u8 val;
 };
 
 struct wilc_cfg_hword {