Răsfoiți Sursa

ARM: S5PV210: 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 14 ani în urmă
părinte
comite
f86147cc8f
1 a modificat fișierele cu 1 adăugiri și 0 ștergeri
  1. 1 0
      arch/arm/mach-s5pv210/dma.c

+ 1 - 0
arch/arm/mach-s5pv210/dma.c

@@ -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;
 }