
16 May
2008
16 May
'08
11:56 a.m.
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@atmel.com
Acked-by: Jean-Christophe PLAGNIOL-VILLARD plagnioj@jcrosoft.com