Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Guennadi Liakhovetski and committed by
Vinod Koul
1e7f07b5 9d051dc7

-2
-1
arch/sh/include/asm/siu.h
··· 14 14 struct device; 15 15 16 16 struct siu_platform { 17 - struct device *dma_dev; 18 17 unsigned int dma_slave_tx_a; 19 18 unsigned int dma_slave_rx_a; 20 19 unsigned int dma_slave_tx_b;
-1
arch/sh/kernel/cpu/sh4a/setup-sh7722.c
··· 512 512 }; 513 513 514 514 static struct siu_platform siu_platform_data = { 515 - .dma_dev = &dma_device.dev, 516 515 .dma_slave_tx_a = SHDMA_SLAVE_SIUA_TX, 517 516 .dma_slave_rx_a = SHDMA_SLAVE_SIUA_RX, 518 517 .dma_slave_tx_b = SHDMA_SLAVE_SIUB_TX,