git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
arch/powerpc: Move dma_mask from of_device into pdev_archdata
[pandora-kernel.git]
/
arch
/
powerpc
/
kernel
/
of_platform.c
diff --git
a/arch/powerpc/kernel/of_platform.c
b/arch/powerpc/kernel/of_platform.c
index
1c747c4
..
2188534
100644
(file)
--- a/
arch/powerpc/kernel/of_platform.c
+++ b/
arch/powerpc/kernel/of_platform.c
@@
-74,7
+74,7
@@
struct of_device* of_platform_device_create(struct device_node *np,
if (!dev)
return NULL;
- dev->dma_mask = 0xffffffffUL;
+ dev->
archdata.
dma_mask = 0xffffffffUL;
dev->dev.coherent_dma_mask = DMA_BIT_MASK(32);
dev->dev.bus = &of_platform_bus_type;