aboutsummaryrefslogtreecommitdiff
path: root/arch/sparc/include/asm/of_device.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-08-27 04:22:37 -0700
committerDavid S. Miller <davem@davemloft.net>2008-08-29 02:15:20 -0700
commit5059625ed8862e897760b86effff0f8a35989c0d (patch)
tree1beed269b55a0848ca9d3a5837aaffef7d6e07c2 /arch/sparc/include/asm/of_device.h
parentf8e4d32cb5153a9d6a8e8864e357dad1349f3b85 (diff)
sparc: Add OF archdata propagation helper.
Add a helper function that, given a bus of_device node, propagates all iommu, stc, and host_controller values down to the child nodes. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/include/asm/of_device.h')
-rw-r--r--arch/sparc/include/asm/of_device.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sparc/include/asm/of_device.h b/arch/sparc/include/asm/of_device.h
index bba777a416d..a5d9811f969 100644
--- a/arch/sparc/include/asm/of_device.h
+++ b/arch/sparc/include/asm/of_device.h
@@ -30,6 +30,8 @@ struct of_device
extern void __iomem *of_ioremap(struct resource *res, unsigned long offset, unsigned long size, char *name);
extern void of_iounmap(struct resource *res, void __iomem *base, unsigned long size);
+extern void of_propagate_archdata(struct of_device *bus);
+
/* This is just here during the transition */
#include <linux/of_platform.h>