patch-2.4.14 linux/arch/arm/mach-sa1100/dma-sa1100.c

Next file: linux/arch/arm/mach-sa1100/dma-sa1111.c
Previous file: linux/arch/arm/mach-sa1100/cerf.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.13/linux/arch/arm/mach-sa1100/dma-sa1100.c linux/arch/arm/mach-sa1100/dma-sa1100.c
@@ -611,7 +611,7 @@
 	int channel;
 	for (channel = 0; channel < SA1100_DMA_CHANNELS; channel++) {
 		dma_chan[channel].regs =
-		    (dma_regs_t *) io_p2v(_DDAR(channel));
+		    (dma_regs_t *) &DDAR(channel);
 		dma_chan[channel].irq = IRQ_DMA0 + channel;
 	}
 	return 0;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)