diff options
author | Adrian Hunter <adrian.hunter@nokia.com> | 2010-10-11 12:43:50 +0300 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2010-10-23 21:11:16 +0800 |
commit | 49e3b5a44f8abd33c8693edc575c6d06a210d778 (patch) | |
tree | a68dfc6613a17d1c0eb68d87d63a3562eea26a80 /drivers/mmc/core/core.h | |
parent | 0f8d8ea64ec7c77ca5beb59534d386fe0235961a (diff) | |
download | linux-49e3b5a44f8abd33c8693edc575c6d06a210d778.tar.gz linux-49e3b5a44f8abd33c8693edc575c6d06a210d778.tar.bz2 linux-49e3b5a44f8abd33c8693edc575c6d06a210d778.zip |
mmc: refine DDR support
One flaw with DDR support is that MMC core does not inform the driver
which DDR mode it has selected. This patch expands the ios->ddr flag
to do that.
Signed-off-by: Adrian Hunter <adrian.hunter@nokia.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/core/core.h')
-rw-r--r-- | drivers/mmc/core/core.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mmc/core/core.h b/drivers/mmc/core/core.h index 13240d128a69..a971b0667aad 100644 --- a/drivers/mmc/core/core.h +++ b/drivers/mmc/core/core.h @@ -35,7 +35,8 @@ void mmc_set_chip_select(struct mmc_host *host, int mode); void mmc_set_clock(struct mmc_host *host, unsigned int hz); void mmc_set_bus_mode(struct mmc_host *host, unsigned int mode); void mmc_set_bus_width(struct mmc_host *host, unsigned int width); -void mmc_set_bus_width_ddr(struct mmc_host *host, unsigned int width, int ddr); +void mmc_set_bus_width_ddr(struct mmc_host *host, unsigned int width, + unsigned int ddr); u32 mmc_select_voltage(struct mmc_host *host, u32 ocr); void mmc_set_timing(struct mmc_host *host, unsigned int timing); |