Commit 14f00c74 authored by Vinod Koul's avatar Vinod Koul

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=137416733628831Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
parent ca38ff13
...@@ -380,11 +380,6 @@ struct dma_slave_config { ...@@ -380,11 +380,6 @@ struct dma_slave_config {
* should be checked by controller as well * should be checked by controller as well
* @cmd_pause: true, if pause and thereby resume is supported * @cmd_pause: true, if pause and thereby resume is supported
* @cmd_terminate: true, if terminate cmd 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 { struct dma_slave_caps {
u32 src_addr_widths; u32 src_addr_widths;
...@@ -392,9 +387,6 @@ struct dma_slave_caps { ...@@ -392,9 +387,6 @@ struct dma_slave_caps {
u32 directions; u32 directions;
bool cmd_pause; bool cmd_pause;
bool cmd_terminate; bool cmd_terminate;
u32 max_sg_nr;
u32 max_sg_len;
}; };
static inline const char *dma_chan_name(struct dma_chan *chan) static inline const char *dma_chan_name(struct dma_chan *chan)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment