Skip to content

Commit

Permalink
ASoC: mediatek: mt8192: Fix build failure
Browse files Browse the repository at this point in the history
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
  • Loading branch information
sudipm-mukherjee authored and broonie committed Nov 5, 2020
1 parent 20f64a1 commit 8bfe8c9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sound/soc/mediatek/mt8192/mt8192-afe-gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down Expand Up @@ -304,3 +305,4 @@ int mt8192_afe_gpio_request(struct device *dev, bool enable,

return 0;
}
EXPORT_SYMBOL(mt8192_afe_gpio_request);

0 comments on commit 8bfe8c9

Please sign in to comment.