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

clk: sunxi: sun6i-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
68530121 a97cea2a

+1
+1
drivers/clk/sunxi/clk-sun6i-apb0.c
··· 61 61 { .compatible = "allwinner,sun6i-a31-apb0-clk" }, 62 62 { /* sentinel */ } 63 63 }; 64 + MODULE_DEVICE_TABLE(of, sun6i_a31_apb0_clk_dt_ids); 64 65 65 66 static struct platform_driver sun6i_a31_apb0_clk_driver = { 66 67 .driver = {