diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2017-01-13 08:14:11 -0500 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2017-02-13 07:20:22 -0500 |
commit | 009b0fcea5dfe77663f7ec3927c7c50a97a7675c (patch) | |
tree | fa1b7c68f82c40e2b4c762540c8640db7d7732c9 | |
parent | c0a3e080f9294117a7d510a4f01a0b7c6dbcadae (diff) |
mmc: core: Remove unused struct _mmc_csd from public mmc.h header
The struct _mmc_csd isn't being used and has been lurking around for a
while. Let's kill it.
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Shawn Lin <shawn.lin@rock-chips.com>
-rw-r--r-- | include/linux/mmc/mmc.h | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/include/linux/mmc/mmc.h b/include/linux/mmc/mmc.h index 8f7854324d2b..7406d9badda0 100644 --- a/include/linux/mmc/mmc.h +++ b/include/linux/mmc/mmc.h | |||
@@ -184,50 +184,6 @@ static inline bool mmc_op_multi(u32 opcode) | |||
184 | #define R2_SPI_OUT_OF_RANGE (1 << 15) /* or CSD overwrite */ | 184 | #define R2_SPI_OUT_OF_RANGE (1 << 15) /* or CSD overwrite */ |
185 | #define R2_SPI_CSD_OVERWRITE R2_SPI_OUT_OF_RANGE | 185 | #define R2_SPI_CSD_OVERWRITE R2_SPI_OUT_OF_RANGE |
186 | 186 | ||
187 | /* These are unpacked versions of the actual responses */ | ||
188 | |||
189 | struct _mmc_csd { | ||
190 | u8 csd_structure; | ||
191 | u8 spec_vers; | ||
192 | u8 taac; | ||
193 | u8 nsac; | ||
194 | u8 tran_speed; | ||
195 | u16 ccc; | ||
196 | u8 read_bl_len; | ||
197 | u8 read_bl_partial; | ||
198 | u8 write_blk_misalign; | ||
199 | u8 read_blk_misalign; | ||
200 | u8 dsr_imp; | ||
201 | u16 c_size; | ||
202 | u8 vdd_r_curr_min; | ||
203 | u8 vdd_r_curr_max; | ||
204 | u8 vdd_w_curr_min; | ||
205 | u8 vdd_w_curr_max; | ||
206 | u8 c_size_mult; | ||
207 | union { | ||
208 | struct { /* MMC system specification version 3.1 */ | ||
209 | u8 erase_grp_size; | ||
210 | u8 erase_grp_mult; | ||
211 | } v31; | ||
212 | struct { /* MMC system specification version 2.2 */ | ||
213 | u8 sector_size; | ||
214 | u8 erase_grp_size; | ||
215 | } v22; | ||
216 | } erase; | ||
217 | u8 wp_grp_size; | ||
218 | u8 wp_grp_enable; | ||
219 | u8 default_ecc; | ||
220 | u8 r2w_factor; | ||
221 | u8 write_bl_len; | ||
222 | u8 write_bl_partial; | ||
223 | u8 file_format_grp; | ||
224 | u8 copy; | ||
225 | u8 perm_write_protect; | ||
226 | u8 tmp_write_protect; | ||
227 | u8 file_format; | ||
228 | u8 ecc; | ||
229 | }; | ||
230 | |||
231 | /* | 187 | /* |
232 | * OCR bits are mostly in host.h | 188 | * OCR bits are mostly in host.h |
233 | */ | 189 | */ |