Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

clk: sunxi: sun8i-apb0: Fix module autoload for OF platform driver

This platform driver has a OF device ID table but the OF module
alias information is not created so module autoloading won't work.

Signed-off-by: Luis de Bethencourt <luis@debethencourt.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>

authored by

Luis de Bethencourt and committed by
Stephen Boyd
6ed5f8e4 ad915483

+1
+1
drivers/clk/sunxi/clk-sun8i-apb0.c
··· 52 52 { .compatible = "allwinner,sun8i-a23-apb0-clk" }, 53 53 { /* sentinel */ } 54 54 }; 55 + MODULE_DEVICE_TABLE(of, sun8i_a23_apb0_clk_dt_ids); 55 56 56 57 static struct platform_driver sun8i_a23_apb0_clk_driver = { 57 58 .driver = {