summaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/of_device.h
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@secretlab.ca>2010-04-14 03:12:59 +0400
committerGrant Likely <grant.likely@secretlab.ca>2010-05-22 10:10:40 +0400
commitcb6dc512b745292eaf123fedf437c211e27fb680 (patch)
tree56177ae8f827c346b9180aad8723be8e04b50153 /arch/powerpc/include/asm/of_device.h
parent58f9b0b02414062eaff46716bc04b47d7e79add5 (diff)
downloadlinux-cb6dc512b745292eaf123fedf437c211e27fb680.tar.xz
arch/powerpc: Move dma_mask from of_device into pdev_archdata
By moving dma_mask into pdev_archdata, and adding archdata to struct of_device, it makes it possible to substitute of_device with struct platform_device, which is a stepping stone to removing the of_platform bus entirely. Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'arch/powerpc/include/asm/of_device.h')
-rw-r--r--arch/powerpc/include/asm/of_device.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/of_device.h b/arch/powerpc/include/asm/of_device.h
index 8b26f96b9f9e..444e97e2982e 100644
--- a/arch/powerpc/include/asm/of_device.h
+++ b/arch/powerpc/include/asm/of_device.h
@@ -12,8 +12,8 @@
*/
struct of_device
{
- u64 dma_mask; /* DMA mask */
struct device dev; /* Generic device interface */
+ struct pdev_archdata archdata;
};
extern struct of_device *of_device_alloc(struct device_node *np,