提交 cc8da526 编写于 作者: D Dave Airlie

drm/radeon: switch to using late_initcall

This fixes an issue where we get inited before fbcon when built-in.

Ideally this should work as a non late_initcall, but this fixes it for now.
We also don't suggest people build this in (at least distro maintainers).
Reported-by: NRyan Hope <rmh3093@gmail.com>
Signed-off-by: NDave Airlie <airlied@redhat.com>
上级 6fe7ac3f
...@@ -345,7 +345,7 @@ static void __exit radeon_exit(void) ...@@ -345,7 +345,7 @@ static void __exit radeon_exit(void)
drm_exit(driver); drm_exit(driver);
} }
module_init(radeon_init); late_initcall(radeon_init);
module_exit(radeon_exit); module_exit(radeon_exit);
MODULE_AUTHOR(DRIVER_AUTHOR); MODULE_AUTHOR(DRIVER_AUTHOR);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册