]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
DMAENGINE: pch_dma: kill another usage of __raw_{read|write}l
authorYong Wang <yong.y.wang@linux.intel.com>
Thu, 5 Aug 2010 02:38:43 +0000 (10:38 +0800)
committerDan Williams <dan.j.williams@intel.com>
Thu, 5 Aug 2010 05:08:45 +0000 (22:08 -0700)
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>
drivers/dma/pch_dma.c

index 37139ca496eccda478fed7f2e2846105bb39f5ed..3533948b88ba919de7a1ba3c464b3a49108fc5bc 100644 (file)
@@ -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)
 {