All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ASoC: rt5645: Remove __initdata annotation from dmi_platform_intel_broadwell
@ 2015-10-08 14:23 Jarkko Nikula
  2015-10-08 14:29 ` Jarkko Nikula
  0 siblings, 1 reply; 2+ messages in thread
From: Jarkko Nikula @ 2015-10-08 14:23 UTC (permalink / raw)
  To: alsa-devel
  Cc: Oder Chiou, Bard Liao, Mark Brown, Jarkko Nikula, Liam Girdwood

Fix the "Section mismatch" warning when this driver is built as module by
removing the __initdata annotation from dmi_platform_intel_broadwell[].

Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
---
 sound/soc/codecs/rt5645.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/codecs/rt5645.c b/sound/soc/codecs/rt5645.c
index 4c4fe6b456d5..89ba4ffdbee7 100644
--- a/sound/soc/codecs/rt5645.c
+++ b/sound/soc/codecs/rt5645.c
@@ -3244,7 +3244,7 @@ static int buddy_quirk_cb(const struct dmi_system_id *id)
 	return 1;
 }
 
-static struct dmi_system_id dmi_platform_intel_broadwell[] __initdata = {
+static struct dmi_system_id dmi_platform_intel_broadwell[] = {
 	{
 		.ident = "Chrome Buddy",
 		.callback = buddy_quirk_cb,
-- 
2.6.1

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

* Re: [PATCH] ASoC: rt5645: Remove __initdata annotation from dmi_platform_intel_broadwell
  2015-10-08 14:23 [PATCH] ASoC: rt5645: Remove __initdata annotation from dmi_platform_intel_broadwell Jarkko Nikula
@ 2015-10-08 14:29 ` Jarkko Nikula
  0 siblings, 0 replies; 2+ messages in thread
From: Jarkko Nikula @ 2015-10-08 14:29 UTC (permalink / raw)
  To: alsa-devel; +Cc: Oder Chiou, Bard Liao, Mark Brown, Liam Girdwood

On 10/08/2015 05:23 PM, Jarkko Nikula wrote:
> Fix the "Section mismatch" warning when this driver is built as module by
> removing the __initdata annotation from dmi_platform_intel_broadwell[].
>
> Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
> ---
>   sound/soc/codecs/rt5645.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
Please ignore this. I noticed just after sending this that list had 
already a patch for this.

-- 
Jarkko

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

end of thread, other threads:[~2015-10-08 14:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-08 14:23 [PATCH] ASoC: rt5645: Remove __initdata annotation from dmi_platform_intel_broadwell Jarkko Nikula
2015-10-08 14:29 ` Jarkko Nikula

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.