summaryrefslogtreecommitdiff
path: root/include/asm-ppc/fsl_law.h
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2008-02-18 08:18:07 -0600
committerWolfgang Denk <wd@denx.de>2008-02-22 12:36:44 +0100
commit5a9abcc317cf3c8a69559ff83081f4e5d719edb7 (patch)
tree50f01a4868a6f54e2dc3f440d4eca9a7fc51a0f9 /include/asm-ppc/fsl_law.h
parent81d93e5c4b83d8b6dcee69de6f4a14ccf6f7114a (diff)
downloadu-boot-imx-5a9abcc317cf3c8a69559ff83081f4e5d719edb7.zip
u-boot-imx-5a9abcc317cf3c8a69559ff83081f4e5d719edb7.tar.gz
u-boot-imx-5a9abcc317cf3c8a69559ff83081f4e5d719edb7.tar.bz2
Remove duplicate defines for ARRAY_SIZE
A few duplicate of the ARRAY_SIZE macro sneaked in since we put the define in common.h. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'include/asm-ppc/fsl_law.h')
-rw-r--r--include/asm-ppc/fsl_law.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/asm-ppc/fsl_law.h b/include/asm-ppc/fsl_law.h
index 23bd505..e955c75 100644
--- a/include/asm-ppc/fsl_law.h
+++ b/include/asm-ppc/fsl_law.h
@@ -3,7 +3,6 @@
#include <asm/io.h>
-#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
#define SET_LAW_ENTRY(idx, a, sz, trgt) \
{ .index = idx, .addr = a, .size = sz, .trgt_id = trgt }