linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: thomas.abraham@linaro.org (Thomas Abraham)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/3] ARM: SAMSUNG: Modify pl330 channel filter function
Date: Tue, 23 Aug 2011 03:29:44 +0530	[thread overview]
Message-ID: <1314050385-9617-3-git-send-email-thomas.abraham@linaro.org> (raw)
In-Reply-To: <1314050385-9617-2-git-send-email-thomas.abraham@linaro.org>

With the change in dma channels private data information, the pl330
channel filter function is modified to look for a simple u8 value
instead of the now unused 'struct dma_pl330_peri' value.

Signed-off-by: Thomas Abraham <thomas.abraham@linaro.org>
---
 arch/arm/plat-samsung/dma-ops.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/plat-samsung/dma-ops.c b/arch/arm/plat-samsung/dma-ops.c
index 6e3d9ab..4f1430b 100644
--- a/arch/arm/plat-samsung/dma-ops.c
+++ b/arch/arm/plat-samsung/dma-ops.c
@@ -19,8 +19,8 @@
 
 static inline bool pl330_filter(struct dma_chan *chan, void *param)
 {
-	struct dma_pl330_peri *peri = chan->private;
-	return peri->peri_id == (unsigned)param;
+	u8 *peri_id = chan->private;
+	return *peri_id == (unsigned)param;
 }
 
 static unsigned samsung_dmadev_request(enum dma_ch dma_ch,
-- 
1.6.6.rc2

  reply	other threads:[~2011-08-22 21:59 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-22 21:59 [RESEND][PATCH 0/3] dma: pl330: Simplify platform data for pl330 driver Thomas Abraham
2011-08-22 21:59 ` [PATCH 1/3] DMA: PL330: Infer transfer direction from transfer request instead of platform data Thomas Abraham
2011-08-22 21:59   ` Thomas Abraham [this message]
2011-08-22 21:52     ` [PATCH 2/3] ARM: SAMSUNG: Modify pl330 channel filter function Russell King - ARM Linux
2011-08-23 15:59       ` Thomas Abraham
2011-08-22 21:59     ` [PATCH 3/3] ARM: EXYNOS4: Modify platform data for pl330 driver Thomas Abraham
2011-08-24  1:21   ` [PATCH 1/3] DMA: PL330: Infer transfer direction from transfer request instead of platform data Boojin Kim
2011-08-24  3:22     ` Thomas Abraham
2011-08-24  4:00       ` Boojin Kim
2011-08-24 11:44   ` Rob Herring
2011-08-24 14:25     ` Thomas Abraham

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1314050385-9617-3-git-send-email-thomas.abraham@linaro.org \
    --to=thomas.abraham@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).