diff options
author | Chaehyun Lim <chaehyun.lim@gmail.com> | 2015-09-20 15:51:15 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-09-20 23:52:43 -0700 |
commit | 12ec0bd63eb13d1c33fc02112b7ca91d5ebf070b (patch) | |
tree | 9b58da1e11232459a8007c149746d49e76ecb7d2 /drivers/staging/wilc1000/wilc_wfi_cfgoperations.h | |
parent | a5a45ba2738723c62775f51aad4657f1606f3b7d (diff) | |
download | linux-12ec0bd63eb13d1c33fc02112b7ca91d5ebf070b.tar.bz2 |
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>
Diffstat (limited to 'drivers/staging/wilc1000/wilc_wfi_cfgoperations.h')
-rw-r--r-- | drivers/staging/wilc1000/wilc_wfi_cfgoperations.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.h b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.h index a6145fcaf6d3..c32355597ab2 100644 --- a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.h +++ b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.h @@ -100,6 +100,8 @@ int wilc_init_host_int(struct net_device *net); void WILC_WFI_monitor_rx(u8 *buff, u32 size); int WILC_WFI_deinit_mon_interface(void); struct net_device *WILC_WFI_init_mon_interface(const char *name, struct net_device *real_dev); +void WILC_WFI_frame_register(struct wiphy *wiphy, struct wireless_dev *wdev, + u16 frame_type, bool reg); #define TCP_ACK_FILTER_LINK_SPEED_THRESH 54 #define DEFAULT_LINK_SPEED 72 |