]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: wilc1000: remove declaration of WILC_WFI_frame_register
authorChaehyun Lim <chaehyun.lim@gmail.com>
Sun, 20 Sep 2015 06:51:15 +0000 (15:51 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Sep 2015 06:52:43 +0000 (23:52 -0700)
commit12ec0bd63eb13d1c33fc02112b7ca91d5ebf070b
tree9b58da1e11232459a8007c149746d49e76ecb7d2
parenta5a45ba2738723c62775f51aad4657f1606f3b7d
staging: wilc1000: remove declaration of WILC_WFI_frame_register

This patch removes function declaration of WILC_WFI_frame_register in
linux_wlan.c file, then adds it in wilc_wfi_cfgoperations.h file.

The compilation warning occurs because it is assigned to incorrect
pointer type of second parameter of WILC_WFI_frame_register.
It is assigned with struct wireless_dev pointer type.

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