]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
remoteproc/omap: fix dev_err typo
authorOhad Ben-Cohen <ohad@wizery.com>
Mon, 21 May 2012 13:31:12 +0000 (16:31 +0300)
committerOhad Ben-Cohen <ohad@wizery.com>
Sun, 17 Jun 2012 07:31:03 +0000 (10:31 +0300)
For some reason one of the dev_err invocations is using a wrong
device so fix that.

Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
Cc: stable@vger.kernel.org
drivers/remoteproc/omap_remoteproc.c

index 69425c4e86f30323e765d59151c0ab6d7517355c..de138e30d3e6ca0417ef444732721c14290f959c 100644 (file)
@@ -182,7 +182,7 @@ static int __devinit omap_rproc_probe(struct platform_device *pdev)
 
        ret = dma_set_coherent_mask(&pdev->dev, DMA_BIT_MASK(32));
        if (ret) {
-               dev_err(pdev->dev.parent, "dma_set_coherent_mask: %d\n", ret);
+               dev_err(&pdev->dev, "dma_set_coherent_mask: %d\n", ret);
                return ret;
        }