[PATCH v2] clk: sunxi-ng: a523: export the main CCU OF module alias
From: Pengpeng Hou
Date: Wed Dec 02 2026 - 22:42:56 EST
The main A523 CCU driver can be built as a module. Its OF match table
works once the module is loaded but is not exported for module
autoloading. Export it to provide the matching OF alias.
Fixes: 7cae1e2b5544 ("clk: sunxi-ng: Add support for the A523/T527 CCU PLLs")
Signed-off-by: Pengpeng Hou <hppiscas@xxxxxxx>
---
Changes since v1:
Use the author's full name.
Previous version: https://lore.kernel.org/r/20260905133452.64544-1-hppiscas@xxxxxxx
Codex assisted with patch preparation and the changelog.
Current review: Codex (Assisted-by: gpt 5).
Static review only; this revision was not built.
drivers/clk/sunxi-ng/ccu-sun55i-a523.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/sunxi-ng/ccu-sun55i-a523.c b/drivers/clk/sunxi-ng/ccu-sun55i-a523.c
index 0714090cc3b08af800fed56f45c5f009a638a7ba..a812add654118f78c9c393cfdee247e9210cb7b1 100644
--- a/drivers/clk/sunxi-ng/ccu-sun55i-a523.c
+++ b/drivers/clk/sunxi-ng/ccu-sun55i-a523.c
@@ -1671,6 +1671,7 @@ static const struct of_device_id sun55i_a523_ccu_ids[] = {
{ .compatible = "allwinner,sun55i-a523-ccu" },
{ }
};
+MODULE_DEVICE_TABLE(of, sun55i_a523_ccu_ids);
static struct platform_driver sun55i_a523_ccu_driver = {
.probe = sun55i_a523_ccu_probe,
base-commit: 693c2e04e3f1d4c59af236e1211b7b8cb165a790