]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
dma: mmp_pdma: print the number of channels at probe time
authorDaniel Mack <zonque@gmail.com>
Sat, 10 Aug 2013 16:52:20 +0000 (18:52 +0200)
committerVinod Koul <vinod.koul@intel.com>
Wed, 14 Aug 2013 08:25:16 +0000 (13:55 +0530)
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>
drivers/dma/mmp_pdma.c

index 76884c48ea85c4435cbfc61d9968d2b57b582469..4de4f3fd1b4737889072280c0aa82f8597672429 100644 (file)
@@ -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;
 }