2023-04-03 21:21:18

by Stephen Boyd

[permalink] [raw]
Subject: [PATCH] clk: mediatek: Use right match table for mt8188-wpe

This is copy/pasta from another file. Fix the match table pointer.

Cc: Garmin.Chang <[email protected]>
Cc: Chen-Yu Tsai <[email protected]>
Cc: AngeloGioacchino Del Regno <[email protected]>
Fixes: f42b9e9a43e3 ("clk: mediatek: Add MT8188 wpesys clock support")
Reported-by: kernel test robot <[email protected]>
Link: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Signed-off-by: Stephen Boyd <[email protected]>
---
drivers/clk/mediatek/clk-mt8188-wpe.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clk/mediatek/clk-mt8188-wpe.c b/drivers/clk/mediatek/clk-mt8188-wpe.c
index 5abded13cece..c372ff703f9c 100644
--- a/drivers/clk/mediatek/clk-mt8188-wpe.c
+++ b/drivers/clk/mediatek/clk-mt8188-wpe.c
@@ -88,7 +88,7 @@ static const struct of_device_id of_match_clk_mt8188_wpe[] = {
{ .compatible = "mediatek,mt8188-wpesys-vpp0", .data = &wpe_vpp0_desc },
{ /* sentinel */ }
};
-MODULE_DEVICE_TABLE(platform, clk_mt8188_vpp1_id_table);
+MODULE_DEVICE_TABLE(platform, of_match_clk_mt8188_wpe);

static struct platform_driver clk_mt8188_wpe_drv = {
.probe = mtk_clk_simple_probe,
--
https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git/
https://git.kernel.org/pub/scm/linux/kernel/git/sboyd/spmi.git