clk: sunxi-ng: a523: Publish the main CCU module alias

Message ID 20260905133452.64544-1-hppiscas@163.com (mailing list archive)
State New
Headers
Series clk: sunxi-ng: a523: Publish the main CCU module alias |

Commit Message

hpp.iscas Sept. 5, 2026, 1:34 p.m. UTC
The A523 main CCU driver supports module builds and registers an OF
match table. The table is not exported, leaving the module without an
alias for its OF device.

Publish the main CCU table without changing clock initialization.

Fixes: 7cae1e2b5544 ("clk: sunxi-ng: Add support for the A523/T527 CCU PLLs")
Signed-off-by: hpp.iscas <hppiscas@163.com>
---
 drivers/clk/sunxi-ng/ccu-sun55i-a523.c | 1 +
 1 file changed, 1 insertion(+)
  

Patch

diff --git a/drivers/clk/sunxi-ng/ccu-sun55i-a523.c b/drivers/clk/sunxi-ng/ccu-sun55i-a523.c
index 20dad06..d0c4c70 100644
--- a/drivers/clk/sunxi-ng/ccu-sun55i-a523.c
+++ b/drivers/clk/sunxi-ng/ccu-sun55i-a523.c
@@ -1685,6 +1685,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,