From: Alim Akhtar Date: Mon, 19 Sep 2011 01:27:26 +0000 (+0900) Subject: ARM: S5PC100: register the second instance of pl330 DMAC X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=d5663e7a404ae97888bb8e7a7376de3fb0878ddd;p=deliverable%2Flinux.git ARM: S5PC100: register the second instance of pl330 DMAC 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 Signed-off-by: Kukjin Kim --- diff --git a/arch/arm/mach-s5pc100/dma.c b/arch/arm/mach-s5pc100/dma.c index ef803e92d35d..065a087f5a8b 100644 --- a/arch/arm/mach-s5pc100/dma.c +++ b/arch/arm/mach-s5pc100/dma.c @@ -260,6 +260,7 @@ struct amba_device s5pc100_device_pdma1 = { static int __init s5pc100_dma_init(void) { amba_device_register(&s5pc100_device_pdma0, &iomem_resource); + amba_device_register(&s5pc100_device_pdma1, &iomem_resource); return 0; }