drivers: wifi: eswifi: Fix build issue due to -fno-common
The introduction of -fno-common caused a link error in eswifi driver due to lack of missing extern on eswifi_bus_ops_spi. Adding the extern resolves the link error. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
f13be5ebe3
commit
0c12a7b050
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ static inline void eswifi_unlock(struct eswifi_dev *eswifi)
|
|||
k_mutex_unlock(&eswifi->mutex);
|
||||
}
|
||||
|
||||
struct eswifi_bus_ops eswifi_bus_ops_spi;
|
||||
extern struct eswifi_bus_ops eswifi_bus_ops_spi;
|
||||
int eswifi_offload_init(struct eswifi_dev *eswifi);
|
||||
struct eswifi_dev *eswifi_by_iface_idx(u8_t iface);
|
||||
bool eswifi_is_buf_at_ok(char *str);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue