diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2014-04-25 15:58:55 +0400 |
---|---|---|
committer | Chris Ball <chris@printf.net> | 2014-05-22 15:26:32 +0400 |
commit | 1771059cf5f9c09e37ef6315df8acf120f2642fc (patch) | |
tree | 5d0a909b2834d01fd251697b25a5fb3a24ca222b /drivers/mmc/host/sdhci-acpi.c | |
parent | 1650d0c71a209c7d6bdddda8a7e187c537ceb71a (diff) | |
download | linux-1771059cf5f9c09e37ef6315df8acf120f2642fc.tar.xz |
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-acpi.c')
-rw-r--r-- | drivers/mmc/host/sdhci-acpi.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mmc/host/sdhci-acpi.c b/drivers/mmc/host/sdhci-acpi.c index aca84a682551..323e2a688563 100644 --- a/drivers/mmc/host/sdhci-acpi.c +++ b/drivers/mmc/host/sdhci-acpi.c @@ -102,12 +102,14 @@ static void sdhci_acpi_int_hw_reset(struct sdhci_host *host) } static const struct sdhci_ops sdhci_acpi_ops_dflt = { + .set_clock = sdhci_set_clock, .enable_dma = sdhci_acpi_enable_dma, .set_bus_width = sdhci_set_bus_width, .reset = sdhci_reset, }; static const struct sdhci_ops sdhci_acpi_ops_int = { + .set_clock = sdhci_set_clock, .enable_dma = sdhci_acpi_enable_dma, .set_bus_width = sdhci_set_bus_width, .reset = sdhci_reset, |