sh: prepare the SDHI MFD driver to pass DMA configuration to tmio_mmc.c

Pass DMA slave IDs from platform down to the tmio_mmc driver, to be used
for dmaengine configuration.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Acked-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
Guennadi Liakhovetski
2010-05-19 18:34:16 +00:00
committed by Paul Mundt
parent 42a4533976
commit 056676dabd
2 changed files with 22 additions and 4 deletions

View File

@@ -2,6 +2,8 @@
#define __SH_MOBILE_SDHI_H__
struct sh_mobile_sdhi_info {
int dma_slave_tx;
int dma_slave_rx;
void (*set_pwr)(struct platform_device *pdev, int state);
};