mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 17:30:02 +00:00
ASoC: codecs: tlv320adc3xxx: Wrap adc3xxx_i2c_remove() in __exit_p()
[ Upstream commit4e8ff35878
] If CONFIG_SND_SOC_TLV320ADC3XXX=y: `.exit.text' referenced in section `.data' of sound/soc/codecs/tlv320adc3xxx.o: defined in discarded section `.exit.text' of sound/soc/codecs/tlv320adc3xxx.o Fix this by wrapping the adc3xxx_i2c_remove() pointer in __exit_p(). Fixes:e9a3b57efd
("ASoC: codec: tlv320adc3xxx: New codec driver") Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Link: https://lore.kernel.org/r/3225ba4cfe558d9380155e75385954dd21d4e7eb.1665909132.git.geert@linux-m68k.org Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
06e84176dd
commit
449a940434
1 changed files with 1 additions and 1 deletions
|
@ -1450,7 +1450,7 @@ static struct i2c_driver adc3xxx_i2c_driver = {
|
|||
.of_match_table = tlv320adc3xxx_of_match,
|
||||
},
|
||||
.probe_new = adc3xxx_i2c_probe,
|
||||
.remove = adc3xxx_i2c_remove,
|
||||
.remove = __exit_p(adc3xxx_i2c_remove),
|
||||
.id_table = adc3xxx_i2c_id,
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue