diff options
author | Ben Dooks <ben-linux@fluff.org> | 2008-11-03 20:18:58 +0000 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2008-11-03 20:30:49 +0000 |
commit | 439c45acfde46ab914099a25bf0559567904f632 (patch) | |
tree | 88081a181cea3499623f2c516c672f36d0376194 /drivers/mmc/host/sdhci.h | |
parent | 20d21005881376e8f1e3525c80ee63b735adf0ab (diff) |
SDHCI: Add set_ios hook
Add a set_ios hook which is called when the SDHCI driver
is called to change parameters such as clock or card
width.
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'drivers/mmc/host/sdhci.h')
-rw-r--r-- | drivers/mmc/host/sdhci.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/mmc/host/sdhci.h b/drivers/mmc/host/sdhci.h index fb3931c88a3..9fbf0ddf241 100644 --- a/drivers/mmc/host/sdhci.h +++ b/drivers/mmc/host/sdhci.h @@ -269,6 +269,9 @@ struct sdhci_ops { int (*enable_dma)(struct sdhci_host *host); unsigned int (*get_max_clock)(struct sdhci_host *host); unsigned int (*get_timeout_clock)(struct sdhci_host *host); + + void (*set_ios)(struct sdhci_host *host, + struct mmc_ios *ios); }; |