OSDN Git Service

ASoC: sunxi: rename SND_SUNXI_ADDA_PR_REGMAP to SND_SUN8I_ADDA_PR_REGMAP
authorVasily Khoruzhick <anarsoul@gmail.com>
Sat, 3 Nov 2018 04:26:51 +0000 (21:26 -0700)
committerMark Brown <broonie@kernel.org>
Mon, 5 Nov 2018 10:25:16 +0000 (10:25 +0000)
commit2f5d94123ce3c12a1e15802e6d5ee98f304ccb71
tree675ff04390ad7f5ed97c76e6955558264adb5ec5
parent3ee9a76a8c5a10e1bfb04b81db767c6d562ddaf3
ASoC: sunxi: rename SND_SUNXI_ADDA_PR_REGMAP to SND_SUN8I_ADDA_PR_REGMAP

SND_SUN50I_CODEC_ANALOG selects SND_SUNXI_ADDA_PR_REGMAP which is leftover
of renaming SND_SUNXI_ADDA_PR_REGMAP to SND_SUN8I_ADDA_PR_REGMAP. Replace
it with SND_SUN8I_ADDA_PR_REGMAP to fix possible link errors for some
configurations:

sound/soc/sunxi/sun50i-codec-analog.o: In function `sun50i_codec_analog_probe':
sun50i-codec-analog.c:(.text+0x62): undefined reference to `sun8i_adda_pr_regmap_init'

Fixes: 42371f327df0 ("ASoC: sunxi: Add new driver for Allwinner A64 codec's analog path controls")
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sunxi/Kconfig