All of lore.kernel.org
 help / color / mirror / Atom feed
* Fix section mismatch in wm8995.c
@ 2011-01-11 17:02 Takashi Iwai
  2011-01-11 17:10 ` Mark Brown
  0 siblings, 1 reply; 15+ messages in thread
From: Takashi Iwai @ 2011-01-11 17:02 UTC (permalink / raw)
  To: Mark Brown; +Cc: Dimitris Papastamos, alsa-devel, Liam Girdwood

FYI,

I noticed the section mismatch in wm8995.c, and fixed now on topic/asoc
branch with the patch below.


thanks,

Takashi

===
>From 03cfbdf9f7a1d392146718f67e50fa9ab2844f22 Mon Sep 17 00:00:00 2001
From: Takashi Iwai <tiwai@suse.de>
Date: Tue, 11 Jan 2011 17:58:26 +0100
Subject: [PATCH] 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>
---
 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 3d2110c..6045cbd 100644
--- 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,
-- 
1.7.3.4

^ permalink raw reply related	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2011-01-12 10:51 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-11 17:02 Fix section mismatch in wm8995.c Takashi Iwai
2011-01-11 17:10 ` Mark Brown
2011-01-11 17:18   ` Takashi Iwai
2011-01-11 17:28     ` Mark Brown
2011-01-11 17:32       ` Takashi Iwai
2011-01-11 17:33         ` Mark Brown
2011-01-11 17:48           ` Takashi Iwai
2011-01-11 18:14             ` Mark Brown
2011-01-11 19:12               ` Takashi Iwai
2011-01-12  9:58               ` Dimitris Papastamos
2011-01-12 10:46                 ` Mark Brown
2011-01-12 10:50                   ` Dimitris Papastamos
2011-01-12 10:00             ` Dimitris Papastamos
2011-01-12 10:03               ` Takashi Iwai
2011-01-12 10:07                 ` Dimitris Papastamos

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.