summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/marvell/mwifiex/sdio.h
diff options
context:
space:
mode:
authorXinming Hu <huxm@marvell.com>2016-12-14 19:40:51 +0530
committerKalle Valo <kvalo@codeaurora.org>2017-01-12 16:49:18 +0200
commitcc75c577806a53893122829d91cb122b51643a2d (patch)
tree4b6ba1c0403b5d47ba55940adefe44809bbe0438 /drivers/net/wireless/marvell/mwifiex/sdio.h
parenta7513a4fa9193714b1b02aaa8836af743ccd938d (diff)
downloadop-kernel-dev-cc75c577806a53893122829d91cb122b51643a2d.zip
op-kernel-dev-cc75c577806a53893122829d91cb122b51643a2d.tar.gz
mwifiex: get rid of global save_adapter and sdio_work
This patch moves sdio_work to card structure, in this way we can get adapter structure in the work, so save_adapter won't be needed. Signed-off-by: Xinming Hu <huxm@marvell.com> Signed-off-by: Amitkumar Karwar <akarwar@marvell.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/marvell/mwifiex/sdio.h')
-rw-r--r--drivers/net/wireless/marvell/mwifiex/sdio.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/marvell/mwifiex/sdio.h b/drivers/net/wireless/marvell/mwifiex/sdio.h
index afa10d5..dccf7fd 100644
--- a/drivers/net/wireless/marvell/mwifiex/sdio.h
+++ b/drivers/net/wireless/marvell/mwifiex/sdio.h
@@ -267,6 +267,9 @@ struct sdio_mmc_card {
struct mwifiex_sdio_mpa_tx mpa_tx;
struct mwifiex_sdio_mpa_rx mpa_rx;
+
+ struct work_struct work;
+ unsigned long work_flags;
};
struct mwifiex_sdio_device {
OpenPOWER on IntegriCloud