]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - drivers/mmc/sdhci.c
mmc: fix data type of timer variables
[karo-tx-uboot.git] / drivers / mmc / sdhci.c
index ad72e97f84773d4a7c8f2bf7a28e374dc69d51fa..2ad6e80645af8805a892ebc88ec1dab4cd5bffd5 100644 (file)
@@ -145,7 +145,7 @@ static int sdhci_send_command(struct mmc *mmc, struct mmc_cmd *cmd,
        u32 mask, flags, mode;
        unsigned int time = 0, start_addr = 0;
        int mmc_dev = mmc_get_blk_desc(mmc)->devnum;
-       unsigned start = get_timer(0);
+       unsigned long start = get_timer(0);
 
        /* Timeout unit - ms */
        unsigned int cmd_timeout;