Linux-libre 5.7.6-gnu
[librecmc/linux-libre.git] / drivers / staging / rtl8723bs / include / drv_types_sdio.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /******************************************************************************
3  *
4  * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
5  *
6  ******************************************************************************/
7 #ifndef __DRV_TYPES_SDIO_H__
8 #define __DRV_TYPES_SDIO_H__
9
10 /*  SDIO Header Files */
11         #include <linux/mmc/sdio_func.h>
12         #include <linux/mmc/sdio_ids.h>
13
14 #if defined(CONFIG_WOWLAN) || defined(CONFIG_AP_WOWLAN)
15         #include <linux/mmc/host.h>
16         #include <linux/mmc/card.h>
17 #endif
18
19 struct sdio_data
20 {
21         u8  func_number;
22
23         u8  tx_block_mode;
24         u8  rx_block_mode;
25         u32 block_transfer_len;
26
27         struct sdio_func         *func;
28         void *sys_sdio_irq_thd;
29 };
30
31 #endif