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>
This commit is contained in:
Alejandro Martinez Ruiz 2008-02-04 22:30:17 -08:00 committed by Linus Torvalds
parent 6f7127db31
commit b9e5e119fd

View file

@ -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