Commit 33fe2fb8df01647f97a7bce96a1c7781a7f6d253

Authored by Marek Vasut
Committed by Pantelis Antoniou
1 parent 707ac1ad17

ARM: mmc: bcm283x: Remove get_timer_us() from mmc driver

The get_timer_us() function is something which is no longer
existing in case we use generic timer framework, so replace
it with get_timer().

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Stephen Warren <swarren@wwwdotorg.org>
Cc: Tyler Baker <tyler.baker@linaro.org>

Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff

drivers/mmc/bcm2835_sdhci.c
... ... @@ -69,11 +69,11 @@
69 69 * (Which is just as well - otherwise we'd have to nobble the DMA engine
70 70 * too)
71 71 */
72   - while (get_timer_us(bcm_host->last_write) < bcm_host->twoticks_delay)
  72 + while (get_timer(bcm_host->last_write) < bcm_host->twoticks_delay)
73 73 ;
74 74  
75 75 writel(val, host->ioaddr + reg);
76   - bcm_host->last_write = get_timer_us(0);
  76 + bcm_host->last_write = get_timer(0);
77 77 }
78 78  
79 79 static inline u32 bcm2835_sdhci_raw_readl(struct sdhci_host *host, int reg)