diff options
author | Lee Jones <lee.jones@linaro.org> | 2012-11-14 13:35:51 +0100 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2012-12-06 19:54:44 +0100 |
commit | 5f1a4dd0372038f2490afa4540cd66b8d092839e (patch) | |
tree | b639556787904877e9c237d42fb69cc36350280f /drivers/mmc | |
parent | mmc: mxs-mmc: Remove platform data (diff) | |
download | linux-5f1a4dd0372038f2490afa4540cd66b8d092839e.tar.xz linux-5f1a4dd0372038f2490afa4540cd66b8d092839e.zip |
mmc: Standardise capability type
There are discrepancies with regards to how MMC capabilities
are carried throughout the subsystem. Let's standardise them
to eliminate any confusion.
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/core/mmc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/core/mmc.c b/drivers/mmc/core/mmc.c index 7cc46382fd64..8c2fa8002abb 100644 --- a/drivers/mmc/core/mmc.c +++ b/drivers/mmc/core/mmc.c @@ -239,7 +239,7 @@ static void mmc_select_card_type(struct mmc_card *card) { struct mmc_host *host = card->host; u8 card_type = card->ext_csd.raw_card_type & EXT_CSD_CARD_TYPE_MASK; - unsigned int caps = host->caps, caps2 = host->caps2; + u32 caps = host->caps, caps2 = host->caps2; unsigned int hs_max_dtr = 0; if (card_type & EXT_CSD_CARD_TYPE_26) |