diff options
author | Takashi Iwai <tiwai@suse.de> | 2011-01-11 11:58:26 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-01-11 11:58:55 -0500 |
commit | 03cfbdf9f7a1d392146718f67e50fa9ab2844f22 (patch) | |
tree | 169e024eb68f98ca7c90a6bea58d14a8cc544bcd /sound/soc/codecs | |
parent | f6c2ed5dd6ab43447dacc136585fc894e3f3a82d (diff) |
ASoC: Fix section mismatch in wm8995.c
__devinitconst can't be used for data referred in driver struct.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/soc/codecs')
-rw-r--r-- | sound/soc/codecs/wm8995.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8995.c b/sound/soc/codecs/wm8995.c index 3d2110c1d81f..6045cbde492b 100644 --- a/sound/soc/codecs/wm8995.c +++ b/sound/soc/codecs/wm8995.c | |||
@@ -30,7 +30,7 @@ | |||
30 | 30 | ||
31 | #include "wm8995.h" | 31 | #include "wm8995.h" |
32 | 32 | ||
33 | static const u16 wm8995_reg_defs[WM8995_MAX_REGISTER + 1] __devinitconst = { | 33 | static const u16 wm8995_reg_defs[WM8995_MAX_REGISTER + 1] = { |
34 | [0] = 0x8995, [5] = 0x0100, [16] = 0x000b, [17] = 0x000b, | 34 | [0] = 0x8995, [5] = 0x0100, [16] = 0x000b, [17] = 0x000b, |
35 | [24] = 0x02c0, [25] = 0x02c0, [26] = 0x02c0, [27] = 0x02c0, | 35 | [24] = 0x02c0, [25] = 0x02c0, [26] = 0x02c0, [27] = 0x02c0, |
36 | [28] = 0x000f, [32] = 0x0005, [33] = 0x0005, [40] = 0x0003, | 36 | [28] = 0x000f, [32] = 0x0005, [33] = 0x0005, [40] = 0x0003, |