diff options
author | Ohad Ben-Cohen <ohad@wizery.com> | 2012-05-21 16:31:12 +0300 |
---|---|---|
committer | Ohad Ben-Cohen <ohad@wizery.com> | 2012-06-17 10:31:03 +0300 |
commit | 6b03976288538a94e072bbfcd12d69a20daea8aa (patch) | |
tree | b94b43b3f63c92ec1d2bf9d7d5514dd766bd1ef3 /drivers/remoteproc/omap_remoteproc.c | |
parent | 30338cf09f82523d8747670f7363cc8af347c79f (diff) | |
download | lwn-6b03976288538a94e072bbfcd12d69a20daea8aa.tar.gz lwn-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/omap_remoteproc.c')
-rw-r--r-- | drivers/remoteproc/omap_remoteproc.c | 2 |
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; } |