ASoC: rt286: build warning of section mismatch
authorSudip Mukherjee <sudip@vectorindia.org>
Tue, 18 Nov 2014 12:12:54 +0000 (17:42 +0530)
committerMark Brown <broonie@kernel.org>
Tue, 18 Nov 2014 15:40:18 +0000 (15:40 +0000)
commita5a267cf9ca9937b0ef946b502657ae7638282f6
tree15fefac2dbb483ef580c7b84cb9756192eb4539e
parentf8c101bc357d509291f6accb6f62b8439158a203
ASoC: rt286: build warning of section mismatch

while building we were getting the following build warning:

Section mismatch in reference from the function rt286_i2c_probe()
to the variable .init.data:force_combo_jack_table
The function rt286_i2c_probe() references
the variable __initdata force_combo_jack_table.
This is often because rt286_i2c_probe lacks a __initdata
annotation or the annotation of force_combo_jack_table is wrong.

we were getting the warning as force_combo_jack_table was marked
with __initdata

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt286.c