[U-Boot-Users] [RFC/PATCH 1/6] Move definition of container_of() to common.h

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Fri May 16 11:56:30 CEST 2008


On 11:10 Fri 16 May     , Haavard Skinnemoen wrote:
> AVR32 and AT91SAM9 both have their own identical definitions of
> container_of() taken from the Linux kernel. Move it to common.h so
> that all architectures can use it.
> 
> container_of() is already used by some drivers, and will be used
> extensively by the new and improved SPI API.
> 
> Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen at atmel.com>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>




More information about the U-Boot mailing list