summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/sdhci-dove.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2014-04-25 12:58:55 +0100
committerChris Ball <chris@printf.net>2014-05-22 07:26:32 -0400
commit1771059cf5f9c09e37ef6315df8acf120f2642fc (patch)
tree5d0a909b2834d01fd251697b25a5fb3a24ca222b /drivers/mmc/host/sdhci-dove.c
parent1650d0c71a209c7d6bdddda8a7e187c537ceb71a (diff)
downloadop-kernel-dev-1771059cf5f9c09e37ef6315df8acf120f2642fc.zip
op-kernel-dev-1771059cf5f9c09e37ef6315df8acf120f2642fc.tar.gz
mmc: sdhci: convert sdhci_set_clock() into a library function
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Tested-by: Markus Pargmann <mpa@pengutronix.de> Tested-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Chris Ball <chris@printf.net>
Diffstat (limited to 'drivers/mmc/host/sdhci-dove.c')
-rw-r--r--drivers/mmc/host/sdhci-dove.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/host/sdhci-dove.c b/drivers/mmc/host/sdhci-dove.c
index 1408cc11..8ef4ab5 100644
--- a/drivers/mmc/host/sdhci-dove.c
+++ b/drivers/mmc/host/sdhci-dove.c
@@ -86,6 +86,7 @@ static u32 sdhci_dove_readl(struct sdhci_host *host, int reg)
static const struct sdhci_ops sdhci_dove_ops = {
.read_w = sdhci_dove_readw,
.read_l = sdhci_dove_readl,
+ .set_clock = sdhci_set_clock,
.set_bus_width = sdhci_set_bus_width,
.reset = sdhci_reset,
};
OpenPOWER on IntegriCloud