]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: EXYNOS4: register the second instance of pl330 DMAC
authorAlim Akhtar <alim.akhtar@samsung.com>
Mon, 19 Sep 2011 01:27:19 +0000 (10:27 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Mon, 19 Sep 2011 01:27:19 +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-exynos4/dma.c

index d57d6625502197710187b850f9199c61798eb22a..9667c61e64fb8d0296ab5d10658e082b83b7153d 100644 (file)
@@ -243,6 +243,7 @@ struct amba_device exynos4_device_pdma1 = {
 static int __init exynos4_dma_init(void)
 {
        amba_device_register(&exynos4_device_pdma0, &iomem_resource);
+       amba_device_register(&exynos4_device_pdma1, &iomem_resource);
 
        return 0;
 }