Skip to contentSkip to conversation

DMAENGINE: pch_dma: kill another usage of __raw_{read|write}l

PATCH New Yong Wang 1 participant 1 message Aug 5, 2010 dmaengine

lore
Share & tools
lore

Yong Wang

author
#0 lore raw

PATCH 1/1 DMAENGINE: pch_dma: kill another usage of __raw_{read|write}l

Use {read|write}l instead of __raw_{read|write}l since PCH DMA controller is PCI device.

---
 drivers/dma/pch_dma.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/dma/pch_dma.c +2 -2
index 37139ca..3533948 100644
@@ -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)
 {
Signature · 1 line
1.5.5.1