Skip to contentSkip to conversation

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

PATCH In review hpp.iscas 2 participants 2 messages Sep 5 – Sep 13

Subsystems (2)
lore
Share & tools
lore

hpp.iscas

author
#0 lore raw

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

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")
---
 drivers/clk/sunxi-ng/ccu-sun55i-a523.c | 1 +
 1 file changed, 1 insertion(+)
drivers/clk/sunxi-ng/ccu-sun55i-a523.c +1 -0
index 20dad06..d0c4c70 100644
@@ -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,
maintainer
#1 lore raw
Quoted 9 lines · hpp.iscas

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")

This and the patch author needs to be your actual name. Same for your other patch.

See Documentation/process/submitting-patches.rst

Quoted 17 lines
---
 drivers/clk/sunxi-ng/ccu-sun55i-a523.c | 1 +
 1 file changed, 1 insertion(+)
drivers/clk/sunxi-ng/ccu-sun55i-a523.c +1 -0
index 20dad06..d0c4c70 100644
@@ -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,