diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2012-05-09 11:09:15 -0400 |
---|---|---|
committer | Vinod Koul <vinod.koul@linux.intel.com> | 2012-07-12 23:43:07 -0400 |
commit | 916001fe33b7b4dc797f7b29ec8bc346c4369fa6 (patch) | |
tree | e62f4ff5e51704bab0c365ab555afd23b2be076f /include/linux/mmc | |
parent | 5902c9a7a2a9c2520af54af1ba7a9c7831664a17 (diff) |
mmc: sh_mmcif: remove unneeded struct sh_mmcif_dma, prepare to shdma conversion
Now that all users have been updated to use the embedded in struct
sh_mmcif_plat_data DMA slave IDs, struct sh_mmcif_dma is no longer needed
and can be removed. This also makes preparation to the shdma base library
conversion easier.
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Cc: Chris Ball <cjb@laptop.org>
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
Diffstat (limited to 'include/linux/mmc')
-rw-r--r-- | include/linux/mmc/sh_mmcif.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/include/linux/mmc/sh_mmcif.h b/include/linux/mmc/sh_mmcif.h index 05f0e3db1c12..c37956ccf02e 100644 --- a/include/linux/mmc/sh_mmcif.h +++ b/include/linux/mmc/sh_mmcif.h | |||
@@ -32,17 +32,11 @@ | |||
32 | * 1111 : Peripheral clock (sup_pclk set '1') | 32 | * 1111 : Peripheral clock (sup_pclk set '1') |
33 | */ | 33 | */ |
34 | 34 | ||
35 | struct sh_mmcif_dma { | ||
36 | struct sh_dmae_slave chan_priv_tx; | ||
37 | struct sh_dmae_slave chan_priv_rx; | ||
38 | }; | ||
39 | |||
40 | struct sh_mmcif_plat_data { | 35 | struct sh_mmcif_plat_data { |
41 | void (*set_pwr)(struct platform_device *pdev, int state); | 36 | void (*set_pwr)(struct platform_device *pdev, int state); |
42 | void (*down_pwr)(struct platform_device *pdev); | 37 | void (*down_pwr)(struct platform_device *pdev); |
43 | int (*get_cd)(struct platform_device *pdef); | 38 | int (*get_cd)(struct platform_device *pdef); |
44 | struct sh_mmcif_dma *dma; /* Deprecated. Instead */ | 39 | unsigned int slave_id_tx; /* embedded slave_id_[tr]x */ |
45 | unsigned int slave_id_tx; /* use embedded slave_id_[tr]x */ | ||
46 | unsigned int slave_id_rx; | 40 | unsigned int slave_id_rx; |
47 | u8 sup_pclk; /* 1 :SH7757, 0: SH7724/SH7372 */ | 41 | u8 sup_pclk; /* 1 :SH7757, 0: SH7724/SH7372 */ |
48 | unsigned long caps; | 42 | unsigned long caps; |