]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: wilc1000: replace s32 with int
authorChaehyun Lim <chaehyun.lim@gmail.com>
Sun, 20 Sep 2015 06:51:23 +0000 (15:51 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Sep 2015 02:05:09 +0000 (19:05 -0700)
This patch changes date type of s32Error as int.
The return type of WILC_WFI_InitHostInt and WILC_WFI_DeInitHostInt is int
so that data type of this variable is changed by int.

Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c

index f0bbd903e176f8134ef42bed927c20257b0cb8a4..41dd1c3ed88ec993183ba141c80d8123ac3d4ad3 100644 (file)
@@ -3603,7 +3603,7 @@ struct wireless_dev *wilc_create_wiphy(struct net_device *net)
 int WILC_WFI_InitHostInt(struct net_device *net)
 {
 
-       s32 s32Error = 0;
+       int s32Error = 0;
 
        struct wilc_priv *priv;
 
@@ -3644,7 +3644,7 @@ int WILC_WFI_InitHostInt(struct net_device *net)
  */
 int WILC_WFI_DeInitHostInt(struct net_device *net)
 {
-       s32 s32Error = 0;
+       int s32Error = 0;
 
        struct wilc_priv *priv;