Skip to content

Commit

Permalink
remoteproc/omap: fix dev_err typo
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Ohad Ben-Cohen committed Jun 17, 2012
1 parent 30338cf commit 6b03976
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/remoteproc/omap_remoteproc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 6b03976

Please sign in to comment.