Skip to content

Commit

Permalink
m68k: ARRAY_SIZE() cleanup
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alejandro Martinez Ruiz authored and Linus Torvalds committed Feb 5, 2008
1 parent 6f7127d commit b9e5e11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/m68k/amiga/amisound.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit b9e5e11

Please sign in to comment.