Commit cc8da526 authored by Dave Airlie's avatar 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: default avatarRyan Hope <rmh3093@gmail.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment