]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: wilc1000: fix return type of wilc_scan
authorChaehyun Lim <chaehyun.lim@gmail.com>
Tue, 5 Jan 2016 14:06:45 +0000 (23:06 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Feb 2016 23:14:39 +0000 (15:14 -0800)
commit03a5d8c0854c02a3c54ee09d9b784e82f0c1c9aa
treefe97ee5115592fe5f4de2a2f39742ff0172a7695
parent40e05e86d5fcb3d652c49a2b0ad93573a7dca2b4
staging: wilc1000: fix return type of wilc_scan

This patch changes return type of wilc_scan from s32 to int.
The result variable gets return value from wilc_mq_send that has data
type of int. It should be changed return type of this function as well
as data type of result variable.

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