Commit 2e35b25d authored by Linus Walleij's avatar Linus Walleij

pinctrl: mediatek: Export debounce time tables

The kernel test robot complains that in certain combinations
when building the Mediatek drivers as modules we lack some
debounce table symbols, so export them.
Reported-by: default avatarkernel test robot <lkp@intel.com>
Fixes: e1ff91f9 ("pinctrl: mediatek: Fix EINT pins input debounce time configuration")
Cc: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent e1ff91f9
...@@ -52,14 +52,17 @@ static const struct mtk_eint_regs mtk_generic_eint_regs = { ...@@ -52,14 +52,17 @@ static const struct mtk_eint_regs mtk_generic_eint_regs = {
const unsigned int debounce_time_mt2701[] = { const unsigned int debounce_time_mt2701[] = {
500, 1000, 16000, 32000, 64000, 128000, 256000, 0 500, 1000, 16000, 32000, 64000, 128000, 256000, 0
}; };
EXPORT_SYMBOL_GPL(debounce_time_mt2701);
const unsigned int debounce_time_mt6765[] = { const unsigned int debounce_time_mt6765[] = {
125, 250, 500, 1000, 16000, 32000, 64000, 128000, 256000, 512000, 0 125, 250, 500, 1000, 16000, 32000, 64000, 128000, 256000, 512000, 0
}; };
EXPORT_SYMBOL_GPL(debounce_time_mt6765);
const unsigned int debounce_time_mt6795[] = { const unsigned int debounce_time_mt6795[] = {
500, 1000, 16000, 32000, 64000, 128000, 256000, 512000, 0 500, 1000, 16000, 32000, 64000, 128000, 256000, 512000, 0
}; };
EXPORT_SYMBOL_GPL(debounce_time_mt6795);
static void __iomem *mtk_eint_get_offset(struct mtk_eint *eint, static void __iomem *mtk_eint_get_offset(struct mtk_eint *eint,
unsigned int eint_num, unsigned int eint_num,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment