Skip to content

Commit

Permalink
DMAENGINE: pch_dma: kill another usage of __raw_{read|write}l
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Yong Wang authored and Dan Williams committed Aug 5, 2010
1 parent b9033e6 commit 61cd220
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/dma/pch_dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 61cd220

Please sign in to comment.