Skip to content

Commit

Permalink
ASoC: rt5645: fix build warning
Browse files Browse the repository at this point in the history
We were getting build warning about "Section mismatch".
dmi_platform_intel_broadwell is being referenced from the probe function
rt5645_i2c_probe(), but dmi_platform_intel_broadwell was marked with
__initdata.

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Reviewed-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
  • Loading branch information
Sudip Mukherjee authored and Mark Brown committed Oct 8, 2015
1 parent a2c026c commit dc542fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/soc/codecs/rt5645.c
Original file line number Diff line number Diff line change
Expand Up @@ -3241,7 +3241,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,
Expand Down

0 comments on commit dc542fb

Please sign in to comment.