]> Pileus Git - ~andy/linux/commitdiff
dmaengine: dma_slave_caps: remove sg entries
authorVinod Koul <vinod.koul@intel.com>
Mon, 2 Sep 2013 12:17:33 +0000 (17:47 +0530)
committerVinod Koul <vinod.koul@intel.com>
Mon, 2 Sep 2013 12:17:33 +0000 (17:47 +0530)
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>
include/linux/dmaengine.h

index 5692bc3afd3929ab96ed38b911b9b0b0576bfa35..4310b89728678c9fb4d557803f161443f4bb67a9 100644 (file)
@@ -380,11 +380,6 @@ 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;
@@ -392,9 +387,6 @@ struct dma_slave_caps {
        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)