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: Ryan Hope <rmh3093@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
Dave Airlie 2009-06-17 07:41:23 +10:00
parent 6fe7ac3f5b
commit cc8da5263f
1 changed files with 1 additions and 1 deletions

View File

@ -345,7 +345,7 @@ static void __exit radeon_exit(void)
drm_exit(driver);
}
module_init(radeon_init);
late_initcall(radeon_init);
module_exit(radeon_exit);
MODULE_AUTHOR(DRIVER_AUTHOR);