From 4e35d9f7af6cb5d553511d6064f224885fd905f4 Mon Sep 17 00:00:00 2001 From: Justin Waters Date: Wed, 17 Jun 2009 10:09:00 -0400 Subject: Add omapl137 support --- include/asm-arm/arch-at91sam9/hardware.h | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'include/asm-arm/arch-at91sam9/hardware.h') diff --git a/include/asm-arm/arch-at91sam9/hardware.h b/include/asm-arm/arch-at91sam9/hardware.h index d2fe45388b..fba3908cbd 100644 --- a/include/asm-arm/arch-at91sam9/hardware.h +++ b/include/asm-arm/arch-at91sam9/hardware.h @@ -42,15 +42,4 @@ #error "Unsupported AT91 processor" #endif -/* - * container_of - cast a member of a structure out to the containing structure - * - * @ptr: the pointer to the member. - * @type: the type of the container struct this is embedded in. - * @member: the name of the member within the struct. - */ -#define container_of(ptr, type, member) ({ \ - const typeof(((type *)0)->member) *__mptr = (ptr); \ - (type *)((char *)__mptr - offsetof(type, member)); }) - #endif -- cgit v1.2.3