diff options
author | Joachim Fenkes <fenkes@de.ibm.com> | 2007-09-26 11:44:12 +0200 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-10-17 14:30:07 +0200 |
commit | fec738dd48bd33743c12cebe1bf954e487756231 (patch) | |
tree | ad0423ca2db3cd22d161c117096337d9c3e2ccf4 /lib/locking-selftest-rlock.h | |
parent | Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/... (diff) | |
download | linux-fec738dd48bd33743c12cebe1bf954e487756231.tar.xz linux-fec738dd48bd33743c12cebe1bf954e487756231.zip |
[POWERPC] Move of_device allocation into of_device.[ch]
Extract generic of_device allocation code from of_platform_device_create()
and move it into of_device.[ch], called of_device_alloc(). Also, there's now
of_device_free() which puts the device node.
This way, bus drivers that build on of_platform (like ibmebus will) can
build upon this code instead of reinventing the wheel.
Signed-off-by: Joachim Fenkes <fenkes@de.ibm.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'lib/locking-selftest-rlock.h')
0 files changed, 0 insertions, 0 deletions