From: Alejandro Martinez Ruiz Date: Tue, 5 Feb 2008 06:30:17 +0000 (-0800) Subject: m68k: ARRAY_SIZE() cleanup X-Git-Tag: v2.6.25-rc1~884 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=b9e5e119fd9905c2a06f73a96f9c18aa760a8a65;p=linux-2.6-omap-h63xx.git m68k: ARRAY_SIZE() cleanup Signed-off-by: Alejandro Martinez Ruiz Signed-off-by: Geert Uytterhoeven Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/arch/m68k/amiga/amisound.c b/arch/m68k/amiga/amisound.c index 1f5bfb58429..92a92fbb612 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