projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sh: dma: use __maybe_unused
[powerpc.git]
/
include
/
asm-sh
/
cpu-sh4
/
dma-sh7780.h
diff --git
a/include/asm-sh/cpu-sh4/dma-sh7780.h
b/include/asm-sh/cpu-sh4/dma-sh7780.h
index
6c90d28
..
71b426a
100644
(file)
--- a/
include/asm-sh/cpu-sh4/dma-sh7780.h
+++ b/
include/asm-sh/cpu-sh4/dma-sh7780.h
@@
-28,7
+28,7
@@
enum {
/*
* The DMA count is defined as the number of bytes to transfer.
*/
-static unsigned int
__attribute__ ((used)) ts_shift[]
= {
+static unsigned int
ts_shift[] __maybe_unused
= {
[XMIT_SZ_8BIT] = 0,
[XMIT_SZ_16BIT] = 1,
[XMIT_SZ_32BIT] = 2,