Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 333422
b: refs/heads/master
c: c1f383d
h: refs/heads/master
v: v3
  • Loading branch information
Damien Cassou authored and Florian Tobias Schandinat committed Aug 23, 2012
1 parent 2dad928 commit 9461170
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ae1937f69b1f04dcb2a855d66f94860a6bcf7620
refs/heads/master: c1f383d97c5b0db5d5c75f996bc1b596efa9ebf8
10 changes: 2 additions & 8 deletions trunk/drivers/video/fsl-diu-fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -1501,8 +1501,8 @@ static int __devinit fsl_diu_probe(struct platform_device *pdev)
unsigned int i;
int ret;

data = dma_alloc_coherent(&pdev->dev, sizeof(struct fsl_diu_data),
&dma_addr, GFP_DMA | __GFP_ZERO);
data = dmam_alloc_coherent(&pdev->dev, sizeof(struct fsl_diu_data),
&dma_addr, GFP_DMA | __GFP_ZERO);
if (!data)
return -ENOMEM;
data->dma_addr = dma_addr;
Expand Down Expand Up @@ -1628,9 +1628,6 @@ static int __devinit fsl_diu_probe(struct platform_device *pdev)

iounmap(data->diu_reg);

dma_free_coherent(&pdev->dev, sizeof(struct fsl_diu_data), data,
data->dma_addr);

return ret;
}

Expand All @@ -1648,9 +1645,6 @@ static int fsl_diu_remove(struct platform_device *pdev)

iounmap(data->diu_reg);

dma_free_coherent(&pdev->dev, sizeof(struct fsl_diu_data), data,
data->dma_addr);

return 0;
}

Expand Down

0 comments on commit 9461170

Please sign in to comment.