aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/mmc/core/mmc.c2
-rw-r--r--include/linux/mmc/dw_mmc.h4
-rw-r--r--include/linux/mmc/host.h4
-rw-r--r--include/linux/mmc/sdhci.h4
-rw-r--r--include/linux/platform_data/pxa_sdhci.h4
5 files changed, 9 insertions, 9 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)
239{ 239{
240 struct mmc_host *host = card->host; 240 struct mmc_host *host = card->host;
241 u8 card_type = card->ext_csd.raw_card_type & EXT_CSD_CARD_TYPE_MASK; 241 u8 card_type = card->ext_csd.raw_card_type & EXT_CSD_CARD_TYPE_MASK;
242 unsigned int caps = host->caps, caps2 = host->caps2; 242 u32 caps = host->caps, caps2 = host->caps2;
243 unsigned int hs_max_dtr = 0; 243 unsigned int hs_max_dtr = 0;
244 244
245 if (card_type & EXT_CSD_CARD_TYPE_26) 245 if (card_type & EXT_CSD_CARD_TYPE_26)
diff --git a/include/linux/mmc/dw_mmc.h b/include/linux/mmc/dw_mmc.h
index 96531664a061..a5498dce1cb5 100644
--- a/include/linux/mmc/dw_mmc.h
+++ b/include/linux/mmc/dw_mmc.h
@@ -229,8 +229,8 @@ struct dw_mci_board {
229 u32 quirks; /* Workaround / Quirk flags */ 229 u32 quirks; /* Workaround / Quirk flags */
230 unsigned int bus_hz; /* Clock speed at the cclk_in pad */ 230 unsigned int bus_hz; /* Clock speed at the cclk_in pad */
231 231
232 unsigned int caps; /* Capabilities */ 232 u32 caps; /* Capabilities */
233 unsigned int caps2; /* More capabilities */ 233 u32 caps2; /* More capabilities */
234 /* 234 /*
235 * Override fifo depth. If 0, autodetect it from the FIFOTH register, 235 * Override fifo depth. If 0, autodetect it from the FIFOTH register,
236 * but note that this may not be reliable after a bootloader has used 236 * but note that this may not be reliable after a bootloader has used
diff --git a/include/linux/mmc/host.h b/include/linux/mmc/host.h
index 7abb0e1f7bda..37442b288ee8 100644
--- a/include/linux/mmc/host.h
+++ b/include/linux/mmc/host.h
@@ -211,7 +211,7 @@ struct mmc_host {
211#define MMC_VDD_34_35 0x00400000 /* VDD voltage 3.4 ~ 3.5 */ 211#define MMC_VDD_34_35 0x00400000 /* VDD voltage 3.4 ~ 3.5 */
212#define MMC_VDD_35_36 0x00800000 /* VDD voltage 3.5 ~ 3.6 */ 212#define MMC_VDD_35_36 0x00800000 /* VDD voltage 3.5 ~ 3.6 */
213 213
214 unsigned long caps; /* Host capabilities */ 214 u32 caps; /* Host capabilities */
215 215
216#define MMC_CAP_4_BIT_DATA (1 << 0) /* Can the host do 4 bit transfers */ 216#define MMC_CAP_4_BIT_DATA (1 << 0) /* Can the host do 4 bit transfers */
217#define MMC_CAP_MMC_HIGHSPEED (1 << 1) /* Can do MMC high-speed timing */ 217#define MMC_CAP_MMC_HIGHSPEED (1 << 1) /* Can do MMC high-speed timing */
@@ -241,7 +241,7 @@ struct mmc_host {
241#define MMC_CAP_CMD23 (1 << 30) /* CMD23 supported. */ 241#define MMC_CAP_CMD23 (1 << 30) /* CMD23 supported. */
242#define MMC_CAP_HW_RESET (1 << 31) /* Hardware reset */ 242#define MMC_CAP_HW_RESET (1 << 31) /* Hardware reset */
243 243
244 unsigned int caps2; /* More host capabilities */ 244 u32 caps2; /* More host capabilities */
245 245
246#define MMC_CAP2_BOOTPART_NOACC (1 << 0) /* Boot partition no access */ 246#define MMC_CAP2_BOOTPART_NOACC (1 << 0) /* Boot partition no access */
247#define MMC_CAP2_CACHE_CTRL (1 << 1) /* Allow cache control */ 247#define MMC_CAP2_CACHE_CTRL (1 << 1) /* Allow cache control */
diff --git a/include/linux/mmc/sdhci.h b/include/linux/mmc/sdhci.h
index 1edcb4dad8c4..b34f3eb95f64 100644
--- a/include/linux/mmc/sdhci.h
+++ b/include/linux/mmc/sdhci.h
@@ -158,8 +158,8 @@ struct sdhci_host {
158 158
159 struct timer_list timer; /* Timer for timeouts */ 159 struct timer_list timer; /* Timer for timeouts */
160 160
161 unsigned int caps; /* Alternative CAPABILITY_0 */ 161 u32 caps; /* Alternative CAPABILITY_0 */
162 unsigned int caps1; /* Alternative CAPABILITY_1 */ 162 u32 caps1; /* Alternative CAPABILITY_1 */
163 163
164 unsigned int ocr_avail_sdio; /* OCR bit masks */ 164 unsigned int ocr_avail_sdio; /* OCR bit masks */
165 unsigned int ocr_avail_sd; 165 unsigned int ocr_avail_sd;
diff --git a/include/linux/platform_data/pxa_sdhci.h b/include/linux/platform_data/pxa_sdhci.h
index 59acd987ed34..0d750085f119 100644
--- a/include/linux/platform_data/pxa_sdhci.h
+++ b/include/linux/platform_data/pxa_sdhci.h
@@ -48,8 +48,8 @@ struct sdhci_pxa_platdata {
48 unsigned int ext_cd_gpio; 48 unsigned int ext_cd_gpio;
49 bool ext_cd_gpio_invert; 49 bool ext_cd_gpio_invert;
50 unsigned int max_speed; 50 unsigned int max_speed;
51 unsigned int host_caps; 51 u32 host_caps;
52 unsigned int host_caps2; 52 u32 host_caps2;
53 unsigned int quirks; 53 unsigned int quirks;
54 unsigned int pm_caps; 54 unsigned int pm_caps;
55}; 55};