aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mwifiex/sdio.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/mwifiex/sdio.h')
-rw-r--r--drivers/net/wireless/mwifiex/sdio.h24
1 files changed, 21 insertions, 3 deletions
diff --git a/drivers/net/wireless/mwifiex/sdio.h b/drivers/net/wireless/mwifiex/sdio.h
index 524f78f4ee69..3f711801e58a 100644
--- a/drivers/net/wireless/mwifiex/sdio.h
+++ b/drivers/net/wireless/mwifiex/sdio.h
@@ -169,9 +169,6 @@
169/* Rx unit register */ 169/* Rx unit register */
170#define CARD_RX_UNIT_REG 0x63 170#define CARD_RX_UNIT_REG 0x63
171 171
172/* Event header len w/o 4 bytes of interface header */
173#define MWIFIEX_EVENT_HEADER_LEN 4
174
175/* Max retry number of CMD53 write */ 172/* Max retry number of CMD53 write */
176#define MAX_WRITE_IOMEM_RETRY 2 173#define MAX_WRITE_IOMEM_RETRY 2
177 174
@@ -304,4 +301,25 @@ struct sdio_mmc_card {
304 struct mwifiex_sdio_mpa_tx mpa_tx; 301 struct mwifiex_sdio_mpa_tx mpa_tx;
305 struct mwifiex_sdio_mpa_rx mpa_rx; 302 struct mwifiex_sdio_mpa_rx mpa_rx;
306}; 303};
304
305/*
306 * .cmdrsp_complete handler
307 */
308static inline int mwifiex_sdio_cmdrsp_complete(struct mwifiex_adapter *adapter,
309 struct sk_buff *skb)
310{
311 dev_kfree_skb_any(skb);
312 return 0;
313}
314
315/*
316 * .event_complete handler
317 */
318static inline int mwifiex_sdio_event_complete(struct mwifiex_adapter *adapter,
319 struct sk_buff *skb)
320{
321 dev_kfree_skb_any(skb);
322 return 0;
323}
324
307#endif /* _MWIFIEX_SDIO_H */ 325#endif /* _MWIFIEX_SDIO_H */