remoteproc/omap: fix dev_err typo

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
This commit is contained in:
Ohad Ben-Cohen 2012-05-21 16:31:12 +03:00
parent 30338cf09f
commit 6b03976288

View 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;
}