2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-21 03:33:59 +08:00

ASoC: mediatek: mt8192: Fix build failure

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>
This commit is contained in:
Sudip Mukherjee 2020-11-05 12:47:47 +00:00 committed by Mark Brown
parent 20f64a1db8
commit 8bfe8c9675
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0

View 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);