aboutsummaryrefslogtreecommitdiffstats
path: root/sound/arm
diff options
context:
space:
mode:
Diffstat (limited to 'sound/arm')
-rw-r--r--sound/arm/Makefile16
-rw-r--r--sound/arm/aaci.c4
-rw-r--r--sound/arm/aaci.h6
3 files changed, 14 insertions, 12 deletions
diff --git a/sound/arm/Makefile b/sound/arm/Makefile
index 103f136926d9..4ef6dd00c6ee 100644
--- a/sound/arm/Makefile
+++ b/sound/arm/Makefile
@@ -2,12 +2,14 @@
2# Makefile for ALSA 2# Makefile for ALSA
3# 3#
4 4
5snd-sa11xx-uda1341-objs := sa11xx-uda1341.o
6snd-aaci-objs := aaci.o devdma.o
7snd-pxa2xx-pcm-objs := pxa2xx-pcm.o
8snd-pxa2xx-ac97-objs := pxa2xx-ac97.o
9
10obj-$(CONFIG_SND_SA11XX_UDA1341) += snd-sa11xx-uda1341.o 5obj-$(CONFIG_SND_SA11XX_UDA1341) += snd-sa11xx-uda1341.o
6snd-sa11xx-uda1341-objs := sa11xx-uda1341.o
7
11obj-$(CONFIG_SND_ARMAACI) += snd-aaci.o 8obj-$(CONFIG_SND_ARMAACI) += snd-aaci.o
12obj-$(CONFIG_SND_PXA2XX_PCM) += snd-pxa2xx-pcm.o 9snd-aaci-objs := aaci.o devdma.o
13obj-$(CONFIG_SND_PXA2XX_AC97) += snd-pxa2xx-ac97.o 10
11obj-$(CONFIG_SND_PXA2XX_PCM) += snd-pxa2xx-pcm.o
12snd-pxa2xx-pcm-objs := pxa2xx-pcm.o
13
14obj-$(CONFIG_SND_PXA2XX_AC97) += snd-pxa2xx-ac97.o
15snd-pxa2xx-ac97-objs := pxa2xx-ac97.o
diff --git a/sound/arm/aaci.c b/sound/arm/aaci.c
index 08cc3ddca96f..98877030d579 100644
--- a/sound/arm/aaci.c
+++ b/sound/arm/aaci.c
@@ -821,7 +821,7 @@ static int __devinit aaci_init_pcm(struct aaci *aaci)
821 821
822static unsigned int __devinit aaci_size_fifo(struct aaci *aaci) 822static unsigned int __devinit aaci_size_fifo(struct aaci *aaci)
823{ 823{
824 void *base = aaci->base + AACI_CSCH1; 824 void __iomem *base = aaci->base + AACI_CSCH1;
825 int i; 825 int i;
826 826
827 writel(TXCR_FEN | TXCR_TSZ16 | TXCR_TXEN, base + AACI_TXCR); 827 writel(TXCR_FEN | TXCR_TSZ16 | TXCR_TXEN, base + AACI_TXCR);
@@ -877,7 +877,7 @@ static int __devinit aaci_probe(struct amba_device *dev, void *id)
877 aaci->playback.fifo = aaci->base + AACI_DR1; 877 aaci->playback.fifo = aaci->base + AACI_DR1;
878 878
879 for (i = 0; i < 4; i++) { 879 for (i = 0; i < 4; i++) {
880 void *base = aaci->base + i * 0x14; 880 void __iomem *base = aaci->base + i * 0x14;
881 881
882 writel(0, base + AACI_IE); 882 writel(0, base + AACI_IE);
883 writel(0, base + AACI_TXCR); 883 writel(0, base + AACI_TXCR);
diff --git a/sound/arm/aaci.h b/sound/arm/aaci.h
index d752e6426894..b2f969bc7845 100644
--- a/sound/arm/aaci.h
+++ b/sound/arm/aaci.h
@@ -200,8 +200,8 @@
200 200
201 201
202struct aaci_runtime { 202struct aaci_runtime {
203 void *base; 203 void __iomem *base;
204 void *fifo; 204 void __iomem *fifo;
205 205
206 struct ac97_pcm *pcm; 206 struct ac97_pcm *pcm;
207 int pcm_open; 207 int pcm_open;
@@ -223,7 +223,7 @@ struct aaci_runtime {
223struct aaci { 223struct aaci {
224 struct amba_device *dev; 224 struct amba_device *dev;
225 snd_card_t *card; 225 snd_card_t *card;
226 void *base; 226 void __iomem *base;
227 unsigned int fifosize; 227 unsigned int fifosize;
228 228
229 /* AC'97 */ 229 /* AC'97 */