projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
m68k: ARRAY_SIZE() cleanup
[powerpc.git]
/
arch
/
m68k
/
amiga
/
amisound.c
diff --git
a/arch/m68k/amiga/amisound.c
b/arch/m68k/amiga/amisound.c
index
1f5bfb5
..
92a92fb
100644
(file)
--- 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