summaryrefslogtreecommitdiff
path: root/drivers/remoteproc
diff options
context:
space:
mode:
authorOhad Ben-Cohen <ohad@wizery.com>2012-05-21 16:31:12 +0300
committerOhad Ben-Cohen <ohad@wizery.com>2012-06-17 10:31:03 +0300
commit6b03976288538a94e072bbfcd12d69a20daea8aa (patch)
treeb94b43b3f63c92ec1d2bf9d7d5514dd766bd1ef3 /drivers/remoteproc
parent30338cf09f82523d8747670f7363cc8af347c79f (diff)
downloadlinux-3.10-6b03976288538a94e072bbfcd12d69a20daea8aa.tar.gz
linux-3.10-6b03976288538a94e072bbfcd12d69a20daea8aa.tar.bz2
linux-3.10-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/remoteproc')
-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 69425c4e86f..de138e30d3e 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;
}