* [PATCH] pinctrl: mediatek: Export debounce time tables
@ 2022-11-15 8:13 Linus Walleij
2022-11-15 8:20 ` AngeloGioacchino Del Regno
0 siblings, 1 reply; 2+ messages in thread
From: Linus Walleij @ 2022-11-15 8:13 UTC (permalink / raw)
To: linux-gpio; +Cc: Linus Walleij, AngeloGioacchino Del Regno
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.
Fixes: e1ff91f9d230 ("pinctrl: mediatek: Fix EINT pins input debounce time configuration")
Cc: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
drivers/pinctrl/mediatek/mtk-eint.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/pinctrl/mediatek/mtk-eint.c b/drivers/pinctrl/mediatek/mtk-eint.c
index e94ee802c603..65d312967619 100644
--- a/drivers/pinctrl/mediatek/mtk-eint.c
+++ b/drivers/pinctrl/mediatek/mtk-eint.c
@@ -52,14 +52,17 @@ static const struct mtk_eint_regs mtk_generic_eint_regs = {
const unsigned int debounce_time_mt2701[] = {
500, 1000, 16000, 32000, 64000, 128000, 256000, 0
};
+EXPORT_SYMBOL_GPL(debounce_time_mt2701);
const unsigned int debounce_time_mt6765[] = {
125, 250, 500, 1000, 16000, 32000, 64000, 128000, 256000, 512000, 0
};
+EXPORT_SYMBOL_GPL(debounce_time_mt6765);
const unsigned int debounce_time_mt6795[] = {
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,
unsigned int eint_num,
--
2.34.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] pinctrl: mediatek: Export debounce time tables
2022-11-15 8:13 [PATCH] pinctrl: mediatek: Export debounce time tables Linus Walleij
@ 2022-11-15 8:20 ` AngeloGioacchino Del Regno
0 siblings, 0 replies; 2+ messages in thread
From: AngeloGioacchino Del Regno @ 2022-11-15 8:20 UTC (permalink / raw)
To: Linus Walleij, linux-gpio
Il 15/11/22 09:13, Linus Walleij ha scritto:
> 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.
>
> Fixes: e1ff91f9d230 ("pinctrl: mediatek: Fix EINT pins input debounce time configuration")
> Cc: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
I'm sorry, I didn't notice :-(
Will be more careful next time.
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
> ---
> drivers/pinctrl/mediatek/mtk-eint.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/drivers/pinctrl/mediatek/mtk-eint.c b/drivers/pinctrl/mediatek/mtk-eint.c
> index e94ee802c603..65d312967619 100644
> --- a/drivers/pinctrl/mediatek/mtk-eint.c
> +++ b/drivers/pinctrl/mediatek/mtk-eint.c
> @@ -52,14 +52,17 @@ static const struct mtk_eint_regs mtk_generic_eint_regs = {
> const unsigned int debounce_time_mt2701[] = {
> 500, 1000, 16000, 32000, 64000, 128000, 256000, 0
> };
> +EXPORT_SYMBOL_GPL(debounce_time_mt2701);
>
> const unsigned int debounce_time_mt6765[] = {
> 125, 250, 500, 1000, 16000, 32000, 64000, 128000, 256000, 512000, 0
> };
> +EXPORT_SYMBOL_GPL(debounce_time_mt6765);
>
> const unsigned int debounce_time_mt6795[] = {
> 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,
> unsigned int eint_num,
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-11-15 8:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-15 8:13 [PATCH] pinctrl: mediatek: Export debounce time tables Linus Walleij
2022-11-15 8:20 ` AngeloGioacchino Del Regno
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).