summaryrefslogtreecommitdiffstats
path: root/drivers/staging/wilc1000/wilc_wlan.h
diff options
context:
space:
mode:
authorGlen Lee <glen.lee@atmel.com>2016-01-25 16:35:09 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-02-03 15:25:40 -0800
commit5397cbc231e20c8166709e696e70cff08d8ae503 (patch)
treee50973392cbac3a1d4d8ea96be6a668faa0e8116 /drivers/staging/wilc1000/wilc_wlan.h
parent76855ba75fbc0787a5c0d32f991e54c81d2e5ad6 (diff)
downloadop-kernel-dev-5397cbc231e20c8166709e696e70cff08d8ae503.zip
op-kernel-dev-5397cbc231e20c8166709e696e70cff08d8ae503.tar.gz
staging: wilc1000: sdio_init: add resume argument
Part of sdio init codes should not run when sdio init function is called on sdio resume so skip them. Signed-off-by: Glen Lee <glen.lee@atmel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000/wilc_wlan.h')
-rw-r--r--drivers/staging/wilc1000/wilc_wlan.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/wilc1000/wilc_wlan.h b/drivers/staging/wilc1000/wilc_wlan.h
index 53e56ff..a1096ed 100644
--- a/drivers/staging/wilc1000/wilc_wlan.h
+++ b/drivers/staging/wilc1000/wilc_wlan.h
@@ -227,7 +227,7 @@ struct rxq_entry_t {
********************************************/
struct wilc;
struct wilc_hif_func {
- int (*hif_init)(struct wilc *);
+ int (*hif_init)(struct wilc *, bool resume);
int (*hif_deinit)(struct wilc *);
int (*hif_read_reg)(struct wilc *, u32, u32 *);
int (*hif_write_reg)(struct wilc *, u32, u32);
OpenPOWER on IntegriCloud