Skip to contentSkip to conversation

ASoC: rt5645: Remove __initdata annotation from dmi_platform_intel_broadwell

PATCH In review Jarkko Nikula 1 participant 2 messages Oct 8, 2015

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ASoC: rt5645: Remove __initdata annotation from dmi_platform_intel_broadwell

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

---
 sound/soc/codecs/rt5645.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/codecs/rt5645.c +1 -1
index 4c4fe6b456d5..89ba4ffdbee7 100644
@@ -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,
Signature · 1 line
2.6.1
#1 lore raw
Quoted 8 lines · Jarkko Nikula

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

---
  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.

Signature · 1 line
Jarkko