summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChaehyun Lim <chaehyun.lim@gmail.com>2016-02-12 15:04:45 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-02-15 01:25:38 +0100
commit987ab5eb5fedd3dc60fe766df01cf5042f83edf8 (patch)
tree104f567cea02574ba08113a070d8da5e9088666a
parentstaging: wilc1000: change handle_set_channel's return type to void (diff)
downloadlinux-987ab5eb5fedd3dc60fe766df01cf5042f83edf8.tar.xz
linux-987ab5eb5fedd3dc60fe766df01cf5042f83edf8.zip
staging: wilc1000: change data type of result variable to int.
result variable gets value from wilc_send_config_pkt that has return value of int. This patch changes data type of result variable to int. Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/wilc1000/host_interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c
index eecd697c3f02..0f7a36c3af7c 100644
--- a/drivers/staging/wilc1000/host_interface.c
+++ b/drivers/staging/wilc1000/host_interface.c
@@ -302,7 +302,7 @@ static struct wilc_vif *wilc_get_vif_from_idx(struct wilc *wilc, int idx)
static void handle_set_channel(struct wilc_vif *vif,
struct channel_attr *hif_set_ch)
{
- s32 result = 0;
+ int result = 0;
struct wid wid;
wid.id = (u16)WID_CURRENT_CHANNEL;