diff options
author | Glen Lee <glen.lee@atmel.com> | 2015-10-02 14:22:11 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-02 12:02:15 +0200 |
commit | 814bc36807e26ffbee40dd81de3ae398b608c266 (patch) | |
tree | bfe686931f8a81c0b37e9175457d052bfe3a2aac /drivers/staging/wilc1000/wilc_wlan_cfg.h | |
parent | staging: wilc1000: remove function pointer rx_indicate (diff) | |
download | linux-dev-814bc36807e26ffbee40dd81de3ae398b608c266.tar.xz linux-dev-814bc36807e26ffbee40dd81de3ae398b608c266.zip |
staging: wilc1000: remove function pointer cfg_init
This patch removes function pointer cfg_init and call the function
wilc_wlan_cfg_init instead. Remove static from function declaration.
After removing cfg_init, the struct wilc_cfg_func_t is useless so just delete
it and it's related codes.
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Tony Cho <tony.cho@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000/wilc_wlan_cfg.h')
-rw-r--r-- | drivers/staging/wilc1000/wilc_wlan_cfg.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/wilc1000/wilc_wlan_cfg.h b/drivers/staging/wilc1000/wilc_wlan_cfg.h index fe2c03829d6b..30e60ec4d29f 100644 --- a/drivers/staging/wilc1000/wilc_wlan_cfg.h +++ b/drivers/staging/wilc1000/wilc_wlan_cfg.h @@ -34,5 +34,6 @@ int wilc_wlan_cfg_set_wid(u8 *frame, u32 offset, u16 id, u8 *buf, int size); int wilc_wlan_cfg_get_wid(u8 *frame, u32 offset, u16 id); int wilc_wlan_cfg_get_wid_value(u16 wid, u8 *buffer, u32 buffer_size); int wilc_wlan_cfg_indicate_rx(u8 *frame, int size, wilc_cfg_rsp_t *rsp); +int wilc_wlan_cfg_init(wilc_debug_func func); #endif |