ramips: gdma: remove slave_id field
authorShiji Yang <yangshiji66@qq.com>
Mon, 27 May 2024 12:41:48 +0000 (12:41 +0000)
committerNick Hainke <vincent@systemli.org>
Wed, 29 May 2024 08:41:49 +0000 (10:41 +0200)
commit2240320d7f53d4ca3d7d1313466dcda67ebd3b30
treee63a994cb4fe18854a7fb23b469540d9e38d1a51
parentccd50abd9f8cfce788c9b5175d3d5639065f64da
ramips: gdma: remove slave_id field

Fix compile error:
drivers/dma/ralink-gdma.c: In function 'gdma_dma_config':
drivers/dma/ralink-gdma.c:197:40: error: 'struct dma_slave_config' has no member named 'slave_id'
  197 |                 chan->slave_id = config->slave_id;
      |                                        ^~
drivers/dma/ralink-gdma.c:206:40: error: 'struct dma_slave_config' has no member named 'slave_id'
  206 |                 chan->slave_id = config->slave_id;
      |                                        ^~
make[8]: *** [scripts/Makefile.build:243: drivers/dma/ralink-gdma.o] Error 1

ref: https://lore.kernel.org/all/20211122222203.4103644-1-arnd@kernel.org/

Signed-off-by: Shiji Yang <yangshiji66@qq.com>
target/linux/ramips/files/drivers/dma/ralink-gdma.c