summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorOhad Ben-Cohen <ohad@wizery.com>2012-05-21 15:31:12 +0200
committerOhad Ben-Cohen <ohad@wizery.com>2012-06-17 09:31:03 +0200
commit6b03976288538a94e072bbfcd12d69a20daea8aa (patch)
treeb94b43b3f63c92ec1d2bf9d7d5514dd766bd1ef3 /drivers
parentremoteproc: fix missing fault indication in error-path (diff)
downloadlinux-6b03976288538a94e072bbfcd12d69a20daea8aa.tar.xz
linux-6b03976288538a94e072bbfcd12d69a20daea8aa.zip
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
Diffstat (limited to 'drivers')
-rw-r--r--drivers/remoteproc/omap_remoteproc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/remoteproc/omap_remoteproc.c b/drivers/remoteproc/omap_remoteproc.c
index 69425c4e86f3..de138e30d3e6 100644
--- a/drivers/remoteproc/omap_remoteproc.c
+++ b/drivers/remoteproc/omap_remoteproc.c
@@ -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;
}