aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/dmaengine.h
diff options
context:
space:
mode:
authorVinod Koul <vinod.koul@intel.com>2013-09-02 08:17:33 -0400
committerVinod Koul <vinod.koul@intel.com>2013-09-02 08:17:33 -0400
commit14f00c74f787a263e443b6901083187ffae641de (patch)
tree300e669d7120d52396c49d11f275f607c4f47d13 /include/linux/dmaengine.h
parentca38ff133eb85b64e62b508a7726ea0247edd359 (diff)
dmaengine: dma_slave_caps: remove sg entries
As pointed by Russell in [1], the sg properties are already availble in struct device, so no need to duplicate here. [1]: http://marc.info/?l=linux-omap&m=137416733628831 Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'include/linux/dmaengine.h')
-rw-r--r--include/linux/dmaengine.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/linux/dmaengine.h b/include/linux/dmaengine.h
index 5692bc3afd39..4310b8972867 100644
--- a/include/linux/dmaengine.h
+++ b/include/linux/dmaengine.h
@@ -380,11 +380,6 @@ struct dma_slave_config {
380 * should be checked by controller as well 380 * should be checked by controller as well
381 * @cmd_pause: true, if pause and thereby resume is supported 381 * @cmd_pause: true, if pause and thereby resume is supported
382 * @cmd_terminate: true, if terminate cmd is supported 382 * @cmd_terminate: true, if terminate cmd is supported
383 *
384 * @max_sg_nr: maximum number of SG segments supported
385 * 0 for no maximum
386 * @max_sg_len: maximum length of a SG segment supported
387 * 0 for no maximum
388 */ 383 */
389struct dma_slave_caps { 384struct dma_slave_caps {
390 u32 src_addr_widths; 385 u32 src_addr_widths;
@@ -392,9 +387,6 @@ struct dma_slave_caps {
392 u32 directions; 387 u32 directions;
393 bool cmd_pause; 388 bool cmd_pause;
394 bool cmd_terminate; 389 bool cmd_terminate;
395
396 u32 max_sg_nr;
397 u32 max_sg_len;
398}; 390};
399 391
400static inline const char *dma_chan_name(struct dma_chan *chan) 392static inline const char *dma_chan_name(struct dma_chan *chan)