diff mbox

[1/1] ARM: SAMSUNG: Fix compiler warning in dma-ops.c file

Message ID 1340598445-17379-1-git-send-email-sachin.kamat@linaro.org
State Accepted
Headers show

Commit Message

Sachin Kamat June 25, 2012, 4:27 a.m. UTC
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>
---
 arch/arm/plat-samsung/dma-ops.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff mbox

Patch

diff --git a/arch/arm/plat-samsung/dma-ops.c b/arch/arm/plat-samsung/dma-ops.c
index f9eb353..24420e9 100644
--- a/arch/arm/plat-samsung/dma-ops.c
+++ b/arch/arm/plat-samsung/dma-ops.c
@@ -37,7 +37,7 @@  static unsigned samsung_dmadev_request(enum dma_ch dma_ch,
 }
 
 static int samsung_dmadev_release(unsigned ch,
-			struct s3c2410_dma_client *client)
+			void *param)
 {
 	dma_release_channel((struct dma_chan *)ch);