From patchwork Mon Jun 25 04:27:25 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 9593 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id CFD3023E1B for ; Mon, 25 Jun 2012 04:39:26 +0000 (UTC) Received: from mail-gg0-f180.google.com (mail-gg0-f180.google.com [209.85.161.180]) by fiordland.canonical.com (Postfix) with ESMTP id 92ECCA18A65 for ; Mon, 25 Jun 2012 04:39:26 +0000 (UTC) Received: by ggnf1 with SMTP id f1so2746018ggn.11 for ; Sun, 24 Jun 2012 21:39:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:mime-version:content-type :content-transfer-encoding:x-gm-message-state; bh=ELuitdUFSLgtMFOUNKEZWxil9O/t219Zy6k50JQMUJI=; b=ggfy6mEg54DJ0bVykQFaQ2lxOfqCVF2z/ufZyX81hFSVPEWS+W9SC6sgXsGnA9663w x7qLI2Zjnu+ByqDkbWT385NHgf/HvgTq67nGPHSAL2PRR6tDj+IdYV+kSWN/BU/W9SnJ GYNjVZ0CF1ch6iWKDlrrpoqF3KBpaZaQGSfFz/6Ym+dfa92YhXb3KZ81ZIjgTzTyfErj upZGd+fc4laioIHwtaSzRj13tYRko15hnlN374df7yoltXMgzK1NKj4tRAlqiSkPBs2U rfCpJnF6BeL2uuWVYKg8rGONYipiQQAJzMj3dKAv+ABcJ3CEG8Je6SHe6TE23vXfSY6L QZAA== Received: by 10.50.40.193 with SMTP id z1mr7066653igk.0.1340599165916; Sun, 24 Jun 2012 21:39:25 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.231.24.148 with SMTP id v20csp31850ibb; Sun, 24 Jun 2012 21:39:25 -0700 (PDT) Received: by 10.68.192.73 with SMTP id he9mr36968423pbc.17.1340599164115; Sun, 24 Jun 2012 21:39:24 -0700 (PDT) Received: from mail-pb0-f50.google.com (mail-pb0-f50.google.com [209.85.160.50]) by mx.google.com with ESMTPS id ug10si8734808pbc.335.2012.06.24.21.39.23 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 24 Jun 2012 21:39:24 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.160.50 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.160.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.160.50 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) smtp.mail=sachin.kamat@linaro.org Received: by pbbrr4 with SMTP id rr4so7175616pbb.37 for ; Sun, 24 Jun 2012 21:39:23 -0700 (PDT) Received: by 10.68.224.233 with SMTP id rf9mr36286237pbc.141.1340599163806; Sun, 24 Jun 2012 21:39:23 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id ku7sm7289937pbc.31.2012.06.24.21.39.18 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 24 Jun 2012 21:39:23 -0700 (PDT) From: Sachin Kamat To: linux-samsung-soc@vger.kernel.org Cc: kgene.kim@samsung.com, sachin.kamat@linaro.org, patches@linaro.org Subject: [PATCH 1/1] ARM: SAMSUNG: Fix compiler warning in dma-ops.c file Date: Mon, 25 Jun 2012 09:57:25 +0530 Message-Id: <1340598445-17379-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.4.1 MIME-Version: 1.0 X-Gm-Message-State: ALoCoQmQQV2N5TBDAYoNwDK1p0HzNzLiFhl7z8B9otPNPqH8nZo7POEhMNHzI4Es+zoHkBdIrzCD 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 --- arch/arm/plat-samsung/dma-ops.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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);