dmaengine: edma: Do not register second device when booted with DT
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Thu, 31 Jul 2014 10:12:38 +0000 (13:12 +0300)
committerVinod Koul <vinod.koul@intel.com>
Thu, 31 Jul 2014 11:57:47 +0000 (17:27 +0530)
DT boot does not yet support more than one edma device. To avoid issues at
runtime we should not register the second device when the kernel is booted
with DT.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/edma.c

Simple merge