lkml.org 
[lkml]   [2009]   [Jun]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    Subject[PATCH 2/3] Re: Radeon kernel modesetting patch (as staging) please review
    From
    commit 093f1cb1a1850951f86244ada018672885ec4ace
    Author: Ryan Hope <rmh3093@gmail.com>
    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);

    \
     
     \ /
      Last update: 2009-06-14 15:45    [W:0.043 / U:29.984 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site