[PATCH 1/5] PowerPC: Move of_device allocation into of_device.[ch]

Arnd Bergmann arnd at arndb.de
Thu Sep 27 21:27:41 EST 2007


On Wednesday 26 September 2007, Joachim Fenkes wrote:
> 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 at de.ibm.com>

Acked-by: Arnd Bergmann <arnd at arndb.de>



More information about the Linuxppc-dev mailing list