mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-28 20:02:17 +00:00
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>
This commit is contained in:
parent
a97cea2a5c
commit
6853012116
1 changed files with 1 additions and 0 deletions
|
@ -61,6 +61,7 @@ static const struct of_device_id sun6i_a31_apb0_clk_dt_ids[] = {
|
|||
{ .compatible = "allwinner,sun6i-a31-apb0-clk" },
|
||||
{ /* sentinel */ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(of, sun6i_a31_apb0_clk_dt_ids);
|
||||
|
||||
static struct platform_driver sun6i_a31_apb0_clk_driver = {
|
||||
.driver = {
|
||||
|
|
Loading…
Reference in a new issue