diff options
author | Chaehyun Lim <chaehyun.lim@gmail.com> | 2016-02-12 15:04:45 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-02-15 01:25:38 +0100 |
commit | 987ab5eb5fedd3dc60fe766df01cf5042f83edf8 (patch) | |
tree | 104f567cea02574ba08113a070d8da5e9088666a | |
parent | staging: wilc1000: change handle_set_channel's return type to void (diff) | |
download | linux-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.c | 2 |
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; |