diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2007-05-03 02:38:57 +1000 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2007-07-20 14:25:51 +1000 |
commit | 3f23de10f283819bcdc0d2282e8b5b14c2e96d3b (patch) | |
tree | 49c64fc622953e4ffc3af665bdc380fd37079e14 /include | |
parent | b41912ca345e6de8ec8469d57cd585881271e2b9 (diff) | |
download | op-kernel-dev-3f23de10f283819bcdc0d2282e8b5b14c2e96d3b.zip op-kernel-dev-3f23de10f283819bcdc0d2282e8b5b14c2e96d3b.tar.gz |
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.h | 2 |
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 */ |