aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mmc
diff options
context:
space:
mode:
authorPierre Ossman <drzeus@drzeus.cx>2007-07-22 18:34:07 -0400
committerPierre Ossman <drzeus@drzeus.cx>2007-09-23 03:14:53 -0400
commitd7604d76351f7745d0e62d9f2bbcbb917c9013f3 (patch)
treec0f0b70a9577156a7add1359dd4dc22e8053c413 /include/linux/mmc
parentadf66a0dc5e8be8d4e64f3c2114f9b175558235b (diff)
mmc: read ext_csd version number
Make sure we do not try to parse a structure we do not understand. Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Diffstat (limited to 'include/linux/mmc')
-rw-r--r--include/linux/mmc/mmc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mmc/mmc.h b/include/linux/mmc/mmc.h
index e3ed9b95040e..d1d6cbcc1514 100644
--- a/include/linux/mmc/mmc.h
+++ b/include/linux/mmc/mmc.h
@@ -227,6 +227,7 @@ struct _mmc_csd {
227#define EXT_CSD_BUS_WIDTH 183 /* R/W */ 227#define EXT_CSD_BUS_WIDTH 183 /* R/W */
228#define EXT_CSD_HS_TIMING 185 /* R/W */ 228#define EXT_CSD_HS_TIMING 185 /* R/W */
229#define EXT_CSD_CARD_TYPE 196 /* RO */ 229#define EXT_CSD_CARD_TYPE 196 /* RO */
230#define EXT_CSD_REV 192 /* RO */
230#define EXT_CSD_SEC_CNT 212 /* RO, 4 bytes */ 231#define EXT_CSD_SEC_CNT 212 /* RO, 4 bytes */
231 232
232/* 233/*