diff options
author | 2019-07-12 12:50:09 +0530 | |
---|---|---|
committer | 2019-07-22 07:34:12 +0200 | |
commit | 4ad366015d0560abf749d62b525177d38b02a1a9 (patch) | |
tree | acbb4c6dafd340fe803a09f0d204df2e567ba5d4 /drivers/staging/wilc1000/wilc_netdev.c | |
parent | staging: wlan-ng: Replace function hfa384x_dowmem() (diff) | |
download | linux-dev-4ad366015d0560abf749d62b525177d38b02a1a9.tar.xz linux-dev-4ad366015d0560abf749d62b525177d38b02a1a9.zip |
staging: wilc1000: Replace function wilc_wlan_cfg_get_val()
Include wilc_wlan_cfg.h in wilc_netdev.c to enable it to call functions
in wilc_wlan_cfg.c.
Remove function wilc_wlan_cfg_get_val as all it does is call
wilc_wlan_cfg_get_wid_value in file wilc_wlan_cfg.c.
Rename function wilc_wlan_cfg_get_wid_value to wilc_wlan_cfg_get_val to
maintain compatibility with call sites (including in wilc_netdev.c).
Issue found with Coccinelle.
Signed-off-by: Nishka Dasgupta <nishkadg.linux@gmail.com>
Link: https://lore.kernel.org/r/20190712072009.2550-1-nishkadg.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000/wilc_netdev.c')
-rw-r--r-- | drivers/staging/wilc1000/wilc_netdev.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/wilc1000/wilc_netdev.c b/drivers/staging/wilc1000/wilc_netdev.c index 565e2b5d0616..8d8b7e4399f7 100644 --- a/drivers/staging/wilc1000/wilc_netdev.c +++ b/drivers/staging/wilc1000/wilc_netdev.c @@ -11,6 +11,7 @@ #include <linux/inetdevice.h> #include "wilc_wfi_cfgoperations.h" +#include "wilc_wlan_cfg.h" #define WILC_MULTICAST_TABLE_SIZE 8 |