summaryrefslogtreecommitdiff
path: root/include/asm-arm/arch-at91sam9/hardware.h
diff options
context:
space:
mode:
authorJustin Waters <justin.waters@timesys.com>2009-06-17 10:09:00 -0400
committerJustin Waters <justin.waters@timesys.com>2009-06-17 10:09:00 -0400
commit4e35d9f7af6cb5d553511d6064f224885fd905f4 (patch)
tree7ae0aec6dffc515af7c84c1d25f9c4ec6d0bc9f6 /include/asm-arm/arch-at91sam9/hardware.h
parent180a90abdae72587c0f679edf8991455e559440d (diff)
Diffstat (limited to 'include/asm-arm/arch-at91sam9/hardware.h')
-rw-r--r--include/asm-arm/arch-at91sam9/hardware.h11
1 files changed, 0 insertions, 11 deletions
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