summaryrefslogtreecommitdiffstats
path: root/include/linux/of_platform.h
diff options
context:
space:
mode:
authorStephen Rothwell2007-05-02 18:38:57 +0200
committerStephen Rothwell2007-07-20 06:25:51 +0200
commit3f23de10f283819bcdc0d2282e8b5b14c2e96d3b (patch)
tree49c64fc622953e4ffc3af665bdc380fd37079e14 /include/linux/of_platform.h
parentCreate linux/of_platorm.h (diff)
downloadkernel-qcow2-linux-3f23de10f283819bcdc0d2282e8b5b14c2e96d3b.tar.gz
kernel-qcow2-linux-3f23de10f283819bcdc0d2282e8b5b14c2e96d3b.tar.xz
kernel-qcow2-linux-3f23de10f283819bcdc0d2282e8b5b14c2e96d3b.zip
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/linux/of_platform.h')
-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 c85d0f835783..5fd44e63fb26 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 */