* [PATCH] DMAENGINE: pch_dma: kill another usage of __raw_{read|write}l
@ 2010-08-05 2:38 Yong Wang
0 siblings, 0 replies; only message in thread
From: Yong Wang @ 2010-08-05 2:38 UTC (permalink / raw)
To: Dan Williams; +Cc: linux-kernel
Use {read|write}l instead of __raw_{read|write}l since PCH DMA
controller is PCI device.
Signed-off-by: Yong Wang <yong.y.wang@intel.com>
---
drivers/dma/pch_dma.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/dma/pch_dma.c b/drivers/dma/pch_dma.c
index 37139ca..3533948 100644
--- a/drivers/dma/pch_dma.c
+++ b/drivers/dma/pch_dma.c
@@ -133,9 +133,9 @@ struct pch_dma {
#define PCH_DMA_STS1 0x14
#define dma_readl(pd, name) \
- __raw_readl((pd)->membase + PCH_DMA_##name)
+ readl((pd)->membase + PCH_DMA_##name)
#define dma_writel(pd, name, val) \
- __raw_writel((val), (pd)->membase + PCH_DMA_##name)
+ writel((val), (pd)->membase + PCH_DMA_##name)
static inline struct pch_dma_desc *to_pd_desc(struct dma_async_tx_descriptor *txd)
{
--
1.5.5.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-08-05 2:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-05 2:38 [PATCH] DMAENGINE: pch_dma: kill another usage of __raw_{read|write}l Yong Wang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®