Browse Source

dma: mmp_pdma: print the number of channels at probe time

That helps check the provided runtime information.

Signed-off-by: Daniel Mack <zonque@gmail.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Daniel Mack 12 years ago
parent
commit
419d1f126b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/dma/mmp_pdma.c

+ 1 - 1
drivers/dma/mmp_pdma.c

@@ -907,7 +907,7 @@ static int mmp_pdma_probe(struct platform_device *op)
 		}
 	}
 
-	dev_info(pdev->device.dev, "initialized\n");
+	dev_info(pdev->device.dev, "initialized %d channels\n", dma_channels);
 	return 0;
 }