sh: remove unused DMA device pointer from SIU platform data
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Thu, 5 Jul 2012 10:29:39 +0000 (12:29 +0200)
committerVinod Koul <vinod.koul@linux.intel.com>
Fri, 20 Jul 2012 05:53:44 +0000 (11:23 +0530)
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>
arch/sh/include/asm/siu.h
arch/sh/kernel/cpu/sh4a/setup-sh7722.c

index 1d95c78808d13cfaab77145d91921f76517aa205..580b7ac228b72029073fc7736e7982ad064d6830 100644 (file)
@@ -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;
index 0f5a21907da627ad31566dc43d906699c8f8e7d2..65786c7f5dedf1e449369dbeef90724bfd42ff5c 100644 (file)
@@ -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,