]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
ASoC: mediatek: mt8192: Fix build failure
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Thu, 5 Nov 2020 12:47:47 +0000 (12:47 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 5 Nov 2020 14:52:31 +0000 (14:52 +0000)
A build of arm64 allmodconfig with next-20201105 fails with the error:
ERROR: modpost: "mt8192_afe_gpio_request" undefined!
ERROR: modpost: "mt8192_afe_gpio_init" undefined!

Export the symbols so that mt8192-mt6359-rt1015-rt5682.ko finds it.

Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Link: https://lore.kernel.org/r/20201105124747.18383-1-sudipm.mukherjee@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/mediatek/mt8192/mt8192-afe-gpio.c

index ea000888c9e829fdd6a8cf05a09ed4e3c75f9ed5..fbbe9ed9adb301ab5cd01964d697cbde2fefa61c 100644 (file)
@@ -160,6 +160,7 @@ int mt8192_afe_gpio_init(struct device *dev)
 
        return 0;
 }
+EXPORT_SYMBOL(mt8192_afe_gpio_init);
 
 static int mt8192_afe_gpio_adda_dl(struct device *dev, bool enable)
 {
@@ -304,3 +305,4 @@ int mt8192_afe_gpio_request(struct device *dev, bool enable,
 
        return 0;
 }
+EXPORT_SYMBOL(mt8192_afe_gpio_request);