Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 181896
b: refs/heads/master
c: e0508b1
h: refs/heads/master
v: v3
  • Loading branch information
Corey Minyard authored and Benjamin Herrenschmidt committed Feb 17, 2010
1 parent 545bf50 commit 3aac85a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ec144a81ade915b5b38adedf10e84690813ed768
refs/heads/master: e0508b1516ad4423499d4118a9037ae0aa4e9c2f
3 changes: 3 additions & 0 deletions trunk/arch/powerpc/sysdev/mv64x60_dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
#include <linux/mv643xx.h>
#include <linux/platform_device.h>
#include <linux/of_platform.h>
#include <linux/dma-mapping.h>

#include <asm/prom.h>

Expand Down Expand Up @@ -189,6 +190,7 @@ static int __init mv64x60_mpsc_device_setup(struct device_node *np, int id)
pdev = platform_device_alloc(MPSC_CTLR_NAME, port_number);
if (!pdev)
return -ENOMEM;
pdev->dev.coherent_dma_mask = DMA_BIT_MASK(32);

err = platform_device_add_resources(pdev, r, 5);
if (err)
Expand Down Expand Up @@ -302,6 +304,7 @@ static int __init mv64x60_eth_device_setup(struct device_node *np, int id,
if (!pdev)
return -ENOMEM;

pdev->dev.coherent_dma_mask = DMA_BIT_MASK(32);
err = platform_device_add_resources(pdev, r, 1);
if (err)
goto error;
Expand Down

0 comments on commit 3aac85a

Please sign in to comment.