ASoC: rt5645: Remove __initdata annotation from dmi_platform_intel_broadwell
diff mbox

Message ID 1444314182-10301-1-git-send-email-jarkko.nikula@linux.intel.com
State New
Headers show

Commit Message

Jarkko Nikula Oct. 8, 2015, 2:23 p.m. UTC
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(-)

Comments

Jarkko Nikula Oct. 8, 2015, 2:29 p.m. UTC | #1
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.

Patch
diff mbox

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,