From 419d1f126bc0bf7a0c027848905c4ca81a847a79 Mon Sep 17 00:00:00 2001 From: Daniel Mack Date: Sat, 10 Aug 2013 18:52:20 +0200 Subject: [PATCH] dma: mmp_pdma: print the number of channels at probe time That helps check the provided runtime information. Signed-off-by: Daniel Mack Acked-by: Arnd Bergmann Signed-off-by: Vinod Koul --- drivers/dma/mmp_pdma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/mmp_pdma.c b/drivers/dma/mmp_pdma.c index 76884c48ea85..4de4f3fd1b47 100644 --- a/drivers/dma/mmp_pdma.c +++ b/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; } -- 2.30.2