summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-samsung
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2012-06-27 04:29:54 +0200
committerKukjin Kim <kgene.kim@samsung.com>2012-06-27 04:32:08 +0200
commit3688be49e901551756f4c570a8eb3b98b1e2bbe5 (patch)
tree879f822aa6bcbf34358566aa792faa3193c84507 /arch/arm/plat-samsung
parentASoC: follow the updated samsung DMA common operations (diff)
downloadlinux-3688be49e901551756f4c570a8eb3b98b1e2bbe5.tar.xz
linux-3688be49e901551756f4c570a8eb3b98b1e2bbe5.zip
ARM: SAMSUNG: Fix compiler warning in dma-ops.c file
Fixes the following build warning: arch/arm/plat-samsung/dma-ops.c:129:2: warning: initialization from incompatible pointer type [enabled by default] arch/arm/plat-samsung/dma-ops.c:129:2: warning: (near initialization for 'dmadev_ops.release') [enabled by default] Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/plat-samsung')
-rw-r--r--arch/arm/plat-samsung/dma-ops.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/plat-samsung/dma-ops.c b/arch/arm/plat-samsung/dma-ops.c
index f9eb353d768c..c38d75489240 100644
--- a/arch/arm/plat-samsung/dma-ops.c
+++ b/arch/arm/plat-samsung/dma-ops.c
@@ -36,8 +36,7 @@ static unsigned samsung_dmadev_request(enum dma_ch dma_ch,
return (unsigned)dma_request_channel(mask, pl330_filter, filter_param);
}
-static int samsung_dmadev_release(unsigned ch,
- struct s3c2410_dma_client *client)
+static int samsung_dmadev_release(unsigned ch, void *param)
{
dma_release_channel((struct dma_chan *)ch);