Messages in this thread | | | Date | Wed, 7 Oct 2015 15:05:27 +0100 | From | Mark Brown <> | Subject | Re: [PATCH] ASoC: rt5645: fix build warning |
| |
On Wed, Oct 07, 2015 at 05:52:12PM +0530, Sudip Mukherjee wrote: > 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>
> -static struct dmi_system_id dmi_platform_intel_broadwell[] __initdata = { > +static struct dmi_system_id dmi_platform_intel_broadwell[] = {
This doesn't seem like the obvious fix - why are we not annotating the probe function suitably (or alternatively if we can't why does __initdata still exist)? [unhandled content-type:application/pgp-signature] | |