Browse Source

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 <alim.akhtar@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Alim Akhtar 13 years ago
parent
commit
d5663e7a40
1 changed files with 1 additions and 0 deletions
  1. 1 0
      arch/arm/mach-s5pc100/dma.c

+ 1 - 0
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;
 }