aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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[] = {
21 0, 39, 75, 103, 121, 127, 121, 103, 75, 39, 21 0, 39, 75, 103, 121, 127, 121, 103, 75, 39,
22 0, -39, -75, -103, -121, -127, -121, -103, -75, -39 22 0, -39, -75, -103, -121, -127, -121, -103, -75, -39
23}; 23};
24#define DATA_SIZE (sizeof(sine_data)/sizeof(sine_data[0])) 24#define DATA_SIZE ARRAY_SIZE(sine_data)
25 25
26#define custom amiga_custom 26#define custom amiga_custom
27 27