diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2011-08-30 18:26:39 +0200 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2011-10-26 16:32:09 -0400 |
commit | 714c4a6e3a0f730834ec8a8bc83b2a6da33f54dc (patch) | |
tree | 1e2a581b44fab2b92d21fc52d134719dde003c45 /include/linux/mmc | |
parent | 67716327eec7e9d573e7cb2d806545d6f7c1a38d (diff) |
mmc: sh_mmcif: simplify platform data
Provide platforms with a simplified way to specify MMCIF DMA slave IDs in
a way, similar to SDHI and other sh_dma clients.
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'include/linux/mmc')
-rw-r--r-- | include/linux/mmc/sh_mmcif.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/mmc/sh_mmcif.h b/include/linux/mmc/sh_mmcif.h index 0222cd8ebe7..04ff452bf5c 100644 --- a/include/linux/mmc/sh_mmcif.h +++ b/include/linux/mmc/sh_mmcif.h @@ -41,7 +41,9 @@ struct sh_mmcif_plat_data { void (*set_pwr)(struct platform_device *pdev, int state); void (*down_pwr)(struct platform_device *pdev); int (*get_cd)(struct platform_device *pdef); - struct sh_mmcif_dma *dma; + struct sh_mmcif_dma *dma; /* Deprecated. Instead */ + unsigned int slave_id_tx; /* use embedded slave_id_[tr]x */ + unsigned int slave_id_rx; u8 sup_pclk; /* 1 :SH7757, 0: SH7724/SH7372 */ unsigned long caps; u32 ocr; |