diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2012-05-23 05:05:33 -0400 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2012-07-21 00:02:19 -0400 |
commit | d7d8d500bc03891c4a86da49858c46e2db256581 (patch) | |
tree | f10e2a094133566592aed2368d741a905e74270f /drivers/mmc/host/sh_mobile_sdhi.c | |
parent | 02cb3221d5bb351ad9f7469453dcca7594a0fabf (diff) |
mmc: sh_mobile_sdhi: support caps2 flags
Let SDHI platforms specify mmc_host::caps2 flags in their platform data.
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/host/sh_mobile_sdhi.c')
-rw-r--r-- | drivers/mmc/host/sh_mobile_sdhi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/host/sh_mobile_sdhi.c b/drivers/mmc/host/sh_mobile_sdhi.c index 42f07fa6e04..1e7c5c46201 100644 --- a/drivers/mmc/host/sh_mobile_sdhi.c +++ b/drivers/mmc/host/sh_mobile_sdhi.c | |||
@@ -162,6 +162,7 @@ static int __devinit sh_mobile_sdhi_probe(struct platform_device *pdev) | |||
162 | mmc_data->write16_hook = sh_mobile_sdhi_write16_hook; | 162 | mmc_data->write16_hook = sh_mobile_sdhi_write16_hook; |
163 | mmc_data->ocr_mask = p->tmio_ocr_mask; | 163 | mmc_data->ocr_mask = p->tmio_ocr_mask; |
164 | mmc_data->capabilities |= p->tmio_caps; | 164 | mmc_data->capabilities |= p->tmio_caps; |
165 | mmc_data->capabilities2 |= p->tmio_caps2; | ||
165 | mmc_data->cd_gpio = p->cd_gpio; | 166 | mmc_data->cd_gpio = p->cd_gpio; |
166 | 167 | ||
167 | if (p->dma_slave_tx > 0 && p->dma_slave_rx > 0) { | 168 | if (p->dma_slave_tx > 0 && p->dma_slave_rx > 0) { |