Skip to content

Commit

Permalink
dmaengine: dma_slave_caps: remove sg entries
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Vinod Koul committed Sep 2, 2013
1 parent ca38ff1 commit 14f00c7
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions include/linux/dmaengine.h
Original file line number Diff line number Diff line change
Expand Up @@ -380,21 +380,13 @@ struct dma_slave_config {
* should be checked by controller as well
* @cmd_pause: true, if pause and thereby resume is supported
* @cmd_terminate: true, if terminate cmd is supported
*
* @max_sg_nr: maximum number of SG segments supported
* 0 for no maximum
* @max_sg_len: maximum length of a SG segment supported
* 0 for no maximum
*/
struct dma_slave_caps {
u32 src_addr_widths;
u32 dstn_addr_widths;
u32 directions;
bool cmd_pause;
bool cmd_terminate;

u32 max_sg_nr;
u32 max_sg_len;
};

static inline const char *dma_chan_name(struct dma_chan *chan)
Expand Down

0 comments on commit 14f00c7

Please sign in to comment.