ARM: SAMSUNG: Fix compiler warning in dma-ops.c file
authorSachin Kamat <sachin.kamat@linaro.org>
Wed, 27 Jun 2012 02:29:54 +0000 (11:29 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Wed, 27 Jun 2012 02:32:08 +0000 (11:32 +0900)
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>
arch/arm/plat-samsung/dma-ops.c

index f9eb353d768ce19a695ff1808bb01d6d5fbead69..c38d75489240fc34476ef9bfd2a3caa010df2967 100644 (file)
@@ -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);