diff options
Diffstat (limited to 'include/linux/mmc/card.h')
-rw-r--r-- | include/linux/mmc/card.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/mmc/card.h b/include/linux/mmc/card.h index 237f253f2fe0..61b2c30c903b 100644 --- a/include/linux/mmc/card.h +++ b/include/linux/mmc/card.h | |||
@@ -310,6 +310,11 @@ static inline void mmc_part_add(struct mmc_card *card, unsigned int size, | |||
310 | card->nr_parts++; | 310 | card->nr_parts++; |
311 | } | 311 | } |
312 | 312 | ||
313 | static inline bool mmc_large_sector(struct mmc_card *card) | ||
314 | { | ||
315 | return card->ext_csd.data_sector_size == 4096; | ||
316 | } | ||
317 | |||
313 | /* | 318 | /* |
314 | * The world is not perfect and supplies us with broken mmc/sdio devices. | 319 | * The world is not perfect and supplies us with broken mmc/sdio devices. |
315 | * For at least some of these bugs we need a work-around. | 320 | * For at least some of these bugs we need a work-around. |