ARM: S5PV210: register the second instance of pl330 DMAC
authorAlim Akhtar <alim.akhtar@samsung.com>
Mon, 19 Sep 2011 01:27:23 +0000 (10:27 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Mon, 19 Sep 2011 01:27:23 +0000 (10:27 +0900)
Platform data is provided for two instance of pl330 DMAC,
but only one DMAC is register with amba_device.
This patch register the second instance.

Signed-off-by: Alim Akhtar <alim.akhtar@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-s5pv210/dma.c

index f79d0b06cbf98fae4e36cef8733fa5e9618b6668..86b749c18b77cfdb0da3215cd2528b44f7429e56 100644 (file)
@@ -254,6 +254,7 @@ struct amba_device s5pv210_device_pdma1 = {
 static int __init s5pv210_dma_init(void)
 {
        amba_device_register(&s5pv210_device_pdma0, &iomem_resource);
+       amba_device_register(&s5pv210_device_pdma1, &iomem_resource);
 
        return 0;
 }
This page took 0.028652 seconds and 5 git commands to generate.