Commit 3688be49 authored by Sachin Kamat's avatar Sachin Kamat Committed by Kukjin Kim

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: default avatarSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: default avatarKukjin Kim <kgene.kim@samsung.com>
parent 21c4afed
...@@ -36,8 +36,7 @@ static unsigned samsung_dmadev_request(enum dma_ch dma_ch, ...@@ -36,8 +36,7 @@ static unsigned samsung_dmadev_request(enum dma_ch dma_ch,
return (unsigned)dma_request_channel(mask, pl330_filter, filter_param); return (unsigned)dma_request_channel(mask, pl330_filter, filter_param);
} }
static int samsung_dmadev_release(unsigned ch, static int samsung_dmadev_release(unsigned ch, void *param)
struct s3c2410_dma_client *client)
{ {
dma_release_channel((struct dma_chan *)ch); dma_release_channel((struct dma_chan *)ch);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment