aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/of_device.h (follow)
AgeCommit message (Collapse)AuthorFilesLines
2007-10-17[POWERPC] Move of_device allocation into of_device.[ch]Joachim Fenkes1-0/+5
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>
2007-07-20Begin consolidation of of_device.hStephen Rothwell1-0/+26
This just moves the common stuff from the arch of_device.h files to linux/of_device.h. 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>