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)
commited64610f29414c0ea782bb6a462a3be72e7704dd
treec60b242a71c23bd2b6d2c28492026637646a5f2c
parent04d537d95e2f48295b6f61ef7029a2dba75e3677
dmaengine: edma: Do not register second device when booted with DT

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