diff mbox

[1/4] mmc: dw_mmc: modify the variable type

Message ID 1409894100-4713-2-git-send-email-jh80.chung@samsung.com (mailing list archive)
State New, archived
Headers show

Commit Message

Jaehoon Chung Sept. 5, 2014, 5:14 a.m. UTC
Fixed wrong variable type.

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
---
 drivers/mmc/host/dw_mmc-exynos.c |    2 +-
 drivers/mmc/host/dw_mmc.c        |    2 +-
 drivers/mmc/host/dw_mmc.h        |    4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)
diff mbox

Patch

diff --git a/drivers/mmc/host/dw_mmc-exynos.c b/drivers/mmc/host/dw_mmc-exynos.c
index 0fbc53a..aee39bc 100644
--- a/drivers/mmc/host/dw_mmc-exynos.c
+++ b/drivers/mmc/host/dw_mmc-exynos.c
@@ -385,7 +385,7 @@  static int dw_mci_exynos_execute_tuning(struct dw_mci_slot *slot, u32 opcode,
 }
 
 /* Common capabilities of Exynos4/Exynos5 SoC */
-static unsigned long exynos_dwmmc_caps[4] = {
+static unsigned int exynos_dwmmc_caps[4] = {
 	MMC_CAP_1_8V_DDR | MMC_CAP_8_BIT_DATA | MMC_CAP_CMD23,
 	MMC_CAP_CMD23,
 	MMC_CAP_CMD23,
diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c
index 835e913..b8e0ca8 100644
--- a/drivers/mmc/host/dw_mmc.c
+++ b/drivers/mmc/host/dw_mmc.c
@@ -2202,7 +2202,7 @@  static struct dw_mci_of_slot_quirks {
 static int dw_mci_of_get_slot_quirks(struct device *dev, u8 slot)
 {
 	struct device_node *np = dw_mci_of_find_slot_node(dev, slot);
-	int quirks = 0;
+	unsigned int quirks = 0;
 	int idx;
 
 	/* get quirks */
diff --git a/drivers/mmc/host/dw_mmc.h b/drivers/mmc/host/dw_mmc.h
index 01b99e8..4096f2b 100644
--- a/drivers/mmc/host/dw_mmc.h
+++ b/drivers/mmc/host/dw_mmc.h
@@ -220,7 +220,7 @@  struct dw_mci_slot {
 	struct mmc_host		*mmc;
 	struct dw_mci		*host;
 
-	int			quirks;
+	unsigned int		quirks;
 
 	u32			ctype;
 
@@ -257,7 +257,7 @@  struct dw_mci_tuning_data {
  * is optional as well.
  */
 struct dw_mci_drv_data {
-	unsigned long	*caps;
+	unsigned int	*caps;
 	int		(*init)(struct dw_mci *host);
 	int		(*setup_clock)(struct dw_mci *host);
 	void		(*prepare_command)(struct dw_mci *host, u32 *cmdr);