瀏覽代碼

sh: remove unused DMA device pointer from SIU platform data

The SIU ALSA driver is not using the DMA device pointer for DMA channel
filtering any more, it can be now removed.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Cc: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
Guennadi Liakhovetski 13 年之前
父節點
當前提交
1e7f07b539
共有 2 個文件被更改,包括 0 次插入2 次删除
  1. 0 1
      arch/sh/include/asm/siu.h
  2. 0 1
      arch/sh/kernel/cpu/sh4a/setup-sh7722.c

+ 0 - 1
arch/sh/include/asm/siu.h

@@ -14,7 +14,6 @@
 struct device;
 
 struct siu_platform {
-	struct device *dma_dev;
 	unsigned int dma_slave_tx_a;
 	unsigned int dma_slave_rx_a;
 	unsigned int dma_slave_tx_b;

+ 0 - 1
arch/sh/kernel/cpu/sh4a/setup-sh7722.c

@@ -512,7 +512,6 @@ static struct platform_device tmu2_device = {
 };
 
 static struct siu_platform siu_platform_data = {
-	.dma_dev	= &dma_device.dev,
 	.dma_slave_tx_a	= SHDMA_SLAVE_SIUA_TX,
 	.dma_slave_rx_a	= SHDMA_SLAVE_SIUA_RX,
 	.dma_slave_tx_b	= SHDMA_SLAVE_SIUB_TX,