Skip to content

Commit

Permalink
drm/radeon: switch to using late_initcall
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Dave Airlie committed Jun 16, 2009
1 parent 6fe7ac3 commit cc8da52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/radeon/radeon_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit cc8da52

Please sign in to comment.