projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6c2ed5
)
ASoC: Fix section mismatch in wm8995.c
author
Takashi Iwai
<tiwai@suse.de>
Tue, 11 Jan 2011 16:58:26 +0000
(17:58 +0100)
committer
Takashi Iwai
<tiwai@suse.de>
Tue, 11 Jan 2011 16:58:55 +0000
(17:58 +0100)
__devinitconst can't be used for data referred in driver struct.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/soc/codecs/wm8995.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/codecs/wm8995.c
b/sound/soc/codecs/wm8995.c
index 3d2110c1d81f8dcca13f56970f3636a0abc53942..6045cbde492be5149ffd7c0b3002631a614ab15f 100644
(file)
--- a/
sound/soc/codecs/wm8995.c
+++ b/
sound/soc/codecs/wm8995.c
@@
-30,7
+30,7
@@
#include "wm8995.h"
-static const u16 wm8995_reg_defs[WM8995_MAX_REGISTER + 1]
__devinitconst
= {
+static const u16 wm8995_reg_defs[WM8995_MAX_REGISTER + 1] = {
[0] = 0x8995, [5] = 0x0100, [16] = 0x000b, [17] = 0x000b,
[24] = 0x02c0, [25] = 0x02c0, [26] = 0x02c0, [27] = 0x02c0,
[28] = 0x000f, [32] = 0x0005, [33] = 0x0005, [40] = 0x0003,