aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma/pch_dma.c
diff options
context:
space:
mode:
authorYong Wang <yong.y.wang@linux.intel.com>2010-08-04 22:38:43 -0400
committerDan Williams <dan.j.williams@intel.com>2010-08-05 01:08:45 -0400
commit61cd2203769a2bf35d41f8682f6ef865fe2d23ff (patch)
tree5d2e886f7f9b20098c8ffee4fbd749ddfb09a530 /drivers/dma/pch_dma.c
parentb9033e682e86f3c6a66763f9b6a3935c5c64e145 (diff)
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. Signed-off-by: Yong Wang <yong.y.wang@intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/dma/pch_dma.c')
-rw-r--r--drivers/dma/pch_dma.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/dma/pch_dma.c b/drivers/dma/pch_dma.c
index 37139ca496ec..3533948b88ba 100644
--- a/drivers/dma/pch_dma.c
+++ b/drivers/dma/pch_dma.c
@@ -133,9 +133,9 @@ struct pch_dma {
133#define PCH_DMA_STS1 0x14 133#define PCH_DMA_STS1 0x14
134 134
135#define dma_readl(pd, name) \ 135#define dma_readl(pd, name) \
136 __raw_readl((pd)->membase + PCH_DMA_##name) 136 readl((pd)->membase + PCH_DMA_##name)
137#define dma_writel(pd, name, val) \ 137#define dma_writel(pd, name, val) \
138 __raw_writel((val), (pd)->membase + PCH_DMA_##name) 138 writel((val), (pd)->membase + PCH_DMA_##name)
139 139
140static inline struct pch_dma_desc *to_pd_desc(struct dma_async_tx_descriptor *txd) 140static inline struct pch_dma_desc *to_pd_desc(struct dma_async_tx_descriptor *txd)
141{ 141{