Skip to contentSkip to conversation

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

PATCH New hpp.iscas 1 participant 1 message Sep 5

Subsystems (2)
lore
Share & tools
lore

hpp.iscas

author
#0 lore raw

PATCH 1/1 clk: sunxi-ng: a523: Publish the MCU CCU module alias

The A523 MCU CCU is built as a separate module. Its platform driver uses sun55i_a523_mcu_ccu_ids, but the table is not exported for module autoloading.

Publish the existing OF table. The main and PRCM CCU modules do not provide alias metadata for this module.

Fixes 598e4b6713b5 ("clk: sunxi-ng: add support for the A523/T527 MCU CCU")
---
 drivers/clk/sunxi-ng/ccu-sun55i-a523-mcu.c | 1 +
 1 file changed, 1 insertion(+)
drivers/clk/sunxi-ng/ccu-sun55i-a523-mcu.c +1 -0
index 197844f..f5f0f87 100644
@@ -453,6 +453,7 @@ static const struct of_device_id sun55i_a523_mcu_ccu_ids[] = {
 	{ .compatible = "allwinner,sun55i-a523-mcu-ccu" },
 	{ }
 };
+MODULE_DEVICE_TABLE(of, sun55i_a523_mcu_ccu_ids);
 
 static struct platform_driver sun55i_a523_mcu_ccu_driver = {
 	.probe	= sun55i_a523_mcu_ccu_probe,