summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2007-05-02 16:38:57 (GMT)
committerStephen Rothwell <sfr@canb.auug.org.au>2007-07-20 04:25:51 (GMT)
commit3f23de10f283819bcdc0d2282e8b5b14c2e96d3b (patch)
tree49c64fc622953e4ffc3af665bdc380fd37079e14 /include
parentb41912ca345e6de8ec8469d57cd585881271e2b9 (diff)
downloadlinux-fsl-qoriq-3f23de10f283819bcdc0d2282e8b5b14c2e96d3b.tar.xz
Create drivers/of/platform.c
and populate it with the common parts from PowerPC and Sparc[64]. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Acked-by: Paul Mackerras <paulus@samba.org> Acked-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/linux/of_platform.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/of_platform.h b/include/linux/of_platform.h
index c85d0f8..5fd44e6 100644
--- a/include/linux/of_platform.h
+++ b/include/linux/of_platform.h
@@ -52,4 +52,6 @@ struct of_platform_driver
extern struct of_device *of_find_device_by_node(struct device_node *np);
+extern int of_bus_type_init(struct bus_type *bus, const char *name);
+
#endif /* _LINUX_OF_PLATFORM_H */