diff options
author | Glen Lee <glen.lee@atmel.com> | 2016-01-25 16:35:08 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-02-03 15:25:40 -0800 |
commit | 76855ba75fbc0787a5c0d32f991e54c81d2e5ad6 (patch) | |
tree | 8f78237ef97962d4d71b8d8c491b0a631b756e51 /drivers/staging/wilc1000/wilc_wlan.h | |
parent | fdc2ac1aafc62dfea1ae116f832ff1874104a0ee (diff) | |
download | op-kernel-dev-76855ba75fbc0787a5c0d32f991e54c81d2e5ad6.zip op-kernel-dev-76855ba75fbc0787a5c0d32f991e54c81d2e5ad6.tar.gz |
staging: wilc1000: add sdio resume/suspend
This patch introduces sdio device suspend and resume functionality. sdio_reset
function is added to reset sdio. Remove static inline keyword from
chip_allow_sleep and chip_wakeup, and export symbols.
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.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/wilc1000/wilc_wlan.h b/drivers/staging/wilc1000/wilc_wlan.h index dd5abc5..53e56ff 100644 --- a/drivers/staging/wilc1000/wilc_wlan.h +++ b/drivers/staging/wilc1000/wilc_wlan.h @@ -298,5 +298,6 @@ void WILC_WFI_p2p_rx(struct net_device *dev, u8 *buff, u32 size); void host_wakeup_notify(struct wilc *wilc); void host_sleep_notify(struct wilc *wilc); extern bool wilc_enable_ps; - +void chip_allow_sleep(struct wilc *wilc); +void chip_wakeup(struct wilc *wilc); #endif |