forked from Minki/linux
ASoC: rt5645: fix build warning
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>
This commit is contained in:
parent
a2c026cfec
commit
dc542fb417
@ -3241,7 +3241,7 @@ static int buddy_quirk_cb(const struct dmi_system_id *id)
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct dmi_system_id dmi_platform_intel_broadwell[] __initdata = {
|
static struct dmi_system_id dmi_platform_intel_broadwell[] = {
|
||||||
{
|
{
|
||||||
.ident = "Chrome Buddy",
|
.ident = "Chrome Buddy",
|
||||||
.callback = buddy_quirk_cb,
|
.callback = buddy_quirk_cb,
|
||||||
|
Loading…
Reference in New Issue
Block a user