Skip to content

Commit

Permalink
ASoC: Fix section mismatch in wm8995.c
Browse files Browse the repository at this point in the history
__devinitconst can't be used for data referred in driver struct.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
  • Loading branch information
Takashi Iwai committed Jan 11, 2011
1 parent f6c2ed5 commit 03cfbdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/soc/codecs/wm8995.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 03cfbdf

Please sign in to comment.