diff options
author | Bernie Thompson <bhthompson@chromium.org> | 2013-02-27 20:19:17 (GMT) |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2013-03-22 16:10:42 (GMT) |
commit | 51e7e8b632d8e564ba494dfa61358ac1a97e4ceb (patch) | |
tree | 39af1c9f7d5811d74f2c4cdecaace84137654704 /include | |
parent | e3e020f8acbd39a6feb1b6903725aaf658b0fec4 (diff) | |
download | linux-fsl-qoriq-51e7e8b632d8e564ba494dfa61358ac1a97e4ceb.tar.xz |
mmc: core: Add in support to expose PRV for v4 MMCs
The JEDEC MMC v4 spec defines a new PRV value in place of the original
fwrev and hwrev specified in v1. We can expose this in the kernel to enable
user space to more easily determine the product revision of a given MMC.
Signed-off-by: Bernie Thompson <bhthompson@chromium.org>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mmc/card.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mmc/card.h b/include/linux/mmc/card.h index 61b2c30..f31725b 100644 --- a/include/linux/mmc/card.h +++ b/include/linux/mmc/card.h @@ -17,6 +17,7 @@ struct mmc_cid { unsigned int manfid; char prod_name[8]; + unsigned char prv; unsigned int serial; unsigned short oemid; unsigned short year; |