diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2013-01-04 04:35:06 -0500 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-01-07 11:35:57 -0500 |
commit | 9f575d9741ff28b6661f639d63b4f465c19889c4 (patch) | |
tree | 523b089c7702295914545509d822d586b190c30f /arch/arm/mach-u300/include/mach | |
parent | d1c3ed669a2d452cacfb48c2d171a1f364dae2ed (diff) |
dma: coh901318: create a proper platform data file
This extracts the platform data that we will keep generic
from the U300 platform and associates it with the COH901318
driver in <linux/platform_data/dma-coh901318.h>.
Acked-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/mach-u300/include/mach')
-rw-r--r-- | arch/arm/mach-u300/include/mach/coh901318.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/arch/arm/mach-u300/include/mach/coh901318.h b/arch/arm/mach-u300/include/mach/coh901318.h index 7c3b2b2d25b6..fc47d30988fc 100644 --- a/arch/arm/mach-u300/include/mach/coh901318.h +++ b/arch/arm/mach-u300/include/mach/coh901318.h | |||
@@ -102,22 +102,6 @@ struct coh901318_platform { | |||
102 | const int max_channels; | 102 | const int max_channels; |
103 | }; | 103 | }; |
104 | 104 | ||
105 | #ifdef CONFIG_COH901318 | ||
106 | /** | ||
107 | * coh901318_filter_id() - DMA channel filter function | ||
108 | * @chan: dma channel handle | ||
109 | * @chan_id: id of dma channel to be filter out | ||
110 | * | ||
111 | * In dma_request_channel() it specifies what channel id to be requested | ||
112 | */ | ||
113 | bool coh901318_filter_id(struct dma_chan *chan, void *chan_id); | ||
114 | #else | ||
115 | static inline bool coh901318_filter_id(struct dma_chan *chan, void *chan_id) | ||
116 | { | ||
117 | return false; | ||
118 | } | ||
119 | #endif | ||
120 | |||
121 | /* | 105 | /* |
122 | * DMA Controller - this access the static mappings of the coh901318 dma. | 106 | * DMA Controller - this access the static mappings of the coh901318 dma. |
123 | * | 107 | * |