aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/pxa/pxa2xx-ac97.c
diff options
context:
space:
mode:
authorEric Miao <eric.miao@marvell.com>2009-01-02 19:38:42 +0800
committerEric Miao <eric.miao@marvell.com>2009-03-09 21:22:36 +0800
commit7ebc8d56f407184a457dd5fc739cf39e423a25aa (patch)
tree6c5e7ba83c22def2304bf6db69116ca5d763c0b8 /sound/soc/pxa/pxa2xx-ac97.c
parent[ARM] pxa: allow DMA controller IRQ being specified (diff)
downloadlinux-dev-7ebc8d56f407184a457dd5fc739cf39e423a25aa.tar.xz
linux-dev-7ebc8d56f407184a457dd5fc739cf39e423a25aa.zip
[ARM] pxa: move DMA registers definitions into <mach/dma.h>
1. Driver code where pxa_request_dma() is called will most likely reference DMA registers as well, and it is really unnecessary to include pxa-regs.h just for this. Move the definitions into <mach/dma.h> and make relevant drivers include it instead of <mach/pxa-regs.h>. 2. Introduce DMAC_REGS_VIRT as the virtual address base for these DMA registers. This allows later processors to re-use the same IP while registers may start at different I/O address. Signed-off-by: Eric Miao <eric.miao@marvell.com>
Diffstat (limited to 'sound/soc/pxa/pxa2xx-ac97.c')
-rw-r--r--sound/soc/pxa/pxa2xx-ac97.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/pxa/pxa2xx-ac97.c b/sound/soc/pxa/pxa2xx-ac97.c
index 812c2b4d3e07..a4a655f7e304 100644
--- a/sound/soc/pxa/pxa2xx-ac97.c
+++ b/sound/soc/pxa/pxa2xx-ac97.c
@@ -20,8 +20,8 @@
#include <sound/pxa2xx-lib.h>
#include <mach/hardware.h>
-#include <mach/pxa-regs.h>
#include <mach/regs-ac97.h>
+#include <mach/dma.h>
#include "pxa2xx-pcm.h"
#include "pxa2xx-ac97.h"