Skip to contentSkip to conversation

clk: sunxi-ng: a523: export the main CCU OF module alias

PATCH Applied Pengpeng Hou 2 participants 2 messages Dec 3

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 clk: sunxi-ng: a523: export the main CCU OF module alias

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

---
Changes since v1:
Use the author's full name.
Previous version: https://lore.kernel.org/r/[email protected]

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(+)
drivers/clk/sunxi-ng/ccu-sun55i-a523.c +1 -0
index 0714090cc3b08af800fed56f45c5f009a638a7ba..a812add654118f78c9c393cfdee247e9210cb7b1 100644
@@ -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

maintainer Applied
#1 lore raw
Quoted 5 lines · Pengpeng Hou

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.

Applied to sunxi/clk-for-7.5 in sunxi, thanks!

[1/1] clk: sunxi-ng: a523: export the main CCU OF module alias
https://git.kernel.org/sunxi/linux/c/b5bf2acdefc5

Best regards,

Signature · 1 line
Chen-Yu Tsai <[email protected]>