diff options
Diffstat (limited to 'include/linux/mmc/dw_mmc.h')
-rw-r--r-- | include/linux/mmc/dw_mmc.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/mmc/dw_mmc.h b/include/linux/mmc/dw_mmc.h index e8779c6d1759..aae5d1f1bb39 100644 --- a/include/linux/mmc/dw_mmc.h +++ b/include/linux/mmc/dw_mmc.h | |||
@@ -14,6 +14,8 @@ | |||
14 | #ifndef LINUX_MMC_DW_MMC_H | 14 | #ifndef LINUX_MMC_DW_MMC_H |
15 | #define LINUX_MMC_DW_MMC_H | 15 | #define LINUX_MMC_DW_MMC_H |
16 | 16 | ||
17 | #include <linux/scatterlist.h> | ||
18 | |||
17 | #define MAX_MCI_SLOTS 2 | 19 | #define MAX_MCI_SLOTS 2 |
18 | 20 | ||
19 | enum dw_mci_state { | 21 | enum dw_mci_state { |
@@ -40,7 +42,7 @@ struct mmc_data; | |||
40 | * @lock: Spinlock protecting the queue and associated data. | 42 | * @lock: Spinlock protecting the queue and associated data. |
41 | * @regs: Pointer to MMIO registers. | 43 | * @regs: Pointer to MMIO registers. |
42 | * @sg: Scatterlist entry currently being processed by PIO code, if any. | 44 | * @sg: Scatterlist entry currently being processed by PIO code, if any. |
43 | * @pio_offset: Offset into the current scatterlist entry. | 45 | * @sg_miter: PIO mapping scatterlist iterator. |
44 | * @cur_slot: The slot which is currently using the controller. | 46 | * @cur_slot: The slot which is currently using the controller. |
45 | * @mrq: The request currently being processed on @cur_slot, | 47 | * @mrq: The request currently being processed on @cur_slot, |
46 | * or NULL if the controller is idle. | 48 | * or NULL if the controller is idle. |
@@ -115,7 +117,7 @@ struct dw_mci { | |||
115 | void __iomem *regs; | 117 | void __iomem *regs; |
116 | 118 | ||
117 | struct scatterlist *sg; | 119 | struct scatterlist *sg; |
118 | unsigned int pio_offset; | 120 | struct sg_mapping_iter sg_miter; |
119 | 121 | ||
120 | struct dw_mci_slot *cur_slot; | 122 | struct dw_mci_slot *cur_slot; |
121 | struct mmc_request *mrq; | 123 | struct mmc_request *mrq; |