[PATCH 2/3] Re: Radeon kernel modesetting patch (as staging) please review

From: Ryan Hope
Date: Sun Jun 14 2009 - 09:43:22 EST


commit 093f1cb1a1850951f86244ada018672885ec4ace
Author: Ryan Hope <rmh3093@xxxxxxxxx>
Date: Sun Jun 14 09:36:48 2009 -0400

fix fbcon/radeon initialization order

diff --git a/drivers/gpu/drm/radeon/radeon_drv.c
b/drivers/gpu/drm/radeon/radeon_drv.c
index f70c351..ff4e052 100644
--- a/drivers/gpu/drm/radeon/radeon_drv.c
+++ b/drivers/gpu/drm/radeon/radeon_drv.c
@@ -345,7 +345,11 @@ static void __exit radeon_exit(void)
drm_exit(driver);
}

+#ifdef MODULE
module_init(radeon_init);
+#else
+late_initcall(radeon_init);
+#endif
module_exit(radeon_exit);

MODULE_AUTHOR(DRIVER_AUTHOR);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/