summaryrefslogtreecommitdiffstats
path: root/arch/m68k
diff options
context:
space:
mode:
authorAlejandro Martinez Ruiz <alex@flawedcode.org>2008-02-05 07:30:17 +0100
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-05 18:44:23 +0100
commitb9e5e119fd9905c2a06f73a96f9c18aa760a8a65 (patch)
tree9029956bcba57ac2eee4ab688e4a9fdbffb963a9 /arch/m68k
parentm68k: Use cc-cross-prefix (diff)
downloadlinux-b9e5e119fd9905c2a06f73a96f9c18aa760a8a65.tar.xz
linux-b9e5e119fd9905c2a06f73a96f9c18aa760a8a65.zip
m68k: ARRAY_SIZE() cleanup
Signed-off-by: Alejandro Martinez Ruiz <alex@flawedcode.org> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Cc: Roman Zippel <zippel@linux-m68k.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/m68k')
-rw-r--r--arch/m68k/amiga/amisound.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/m68k/amiga/amisound.c b/arch/m68k/amiga/amisound.c
index 1f5bfb584297..92a92fbb6122 100644
--- a/arch/m68k/amiga/amisound.c
+++ b/arch/m68k/amiga/amisound.c
@@ -21,7 +21,7 @@ static const signed char sine_data[] = {
0, 39, 75, 103, 121, 127, 121, 103, 75, 39,
0, -39, -75, -103, -121, -127, -121, -103, -75, -39
};
-#define DATA_SIZE (sizeof(sine_data)/sizeof(sine_data[0]))
+#define DATA_SIZE ARRAY_SIZE(sine_data)
#define custom amiga_custom