@@ -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,
@@ -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 */
@@ -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);
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(-)