mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 15:02:32 +00:00
38 lines
1.4 KiB
Diff
38 lines
1.4 KiB
Diff
|
From 2e35b25dd8e666b8619355fc3defb1b246a5dc02 Mon Sep 17 00:00:00 2001
|
||
|
From: Linus Walleij <linus.walleij@linaro.org>
|
||
|
Date: Tue, 15 Nov 2022 09:11:07 +0100
|
||
|
Subject: [PATCH] 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: kernel test robot <lkp@intel.com>
|
||
|
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(+)
|
||
|
|
||
|
--- 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_ge
|
||
|
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,
|