summaryrefslogtreecommitdiff
path: root/include/linux/mmc/card.h
diff options
context:
space:
mode:
authorPali Rohár <pali@kernel.org>2020-07-27 16:38:35 +0300
committerUlf Hansson <ulf.hansson@linaro.org>2020-09-07 10:11:28 +0300
commit78366e9cbd7892ac3d321e62c4be7a7fe79a69ed (patch)
tree9e85d0993da0f44f5667d7cb9c1607ed564be225 /include/linux/mmc/card.h
parent8ebe2607965d3e2dc02029e8c7dd35fbe508ffd0 (diff)
downloadlinux-78366e9cbd7892ac3d321e62c4be7a7fe79a69ed.tar.xz
mmc: sdio: Parse CISTPL_VERS_1 major and minor revision numbers
They should indicate compliance of standard. Signed-off-by: Pali Rohár <pali@kernel.org> Link: https://lore.kernel.org/r/20200727133837.19086-3-pali@kernel.org Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'include/linux/mmc/card.h')
-rw-r--r--include/linux/mmc/card.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mmc/card.h b/include/linux/mmc/card.h
index 7d46411ffaa2..42df06c6b19c 100644
--- a/include/linux/mmc/card.h
+++ b/include/linux/mmc/card.h
@@ -297,6 +297,8 @@ struct mmc_card {
struct sdio_cis cis; /* common tuple info */
struct sdio_func *sdio_func[SDIO_MAX_FUNCS]; /* SDIO functions (devices) */
struct sdio_func *sdio_single_irq; /* SDIO function when only one IRQ active */
+ u8 major_rev; /* major revision number */
+ u8 minor_rev; /* minor revision number */
unsigned num_info; /* number of info strings */
const char **info; /* info strings */
struct sdio_func_tuple *tuples; /* unknown common tuples */