lkml.org 
[lkml]   [2008]   [Sep]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v2] fsl-dma: allow Freescale Elo DMA driver to be compiled as a module
    Li Yang wrote:

    >> -subsys_initcall(of_fsl_dma_chan_init);
    >> subsys_initcall(of_fsl_dma_init);
    >
    > Not a critical problem. But module_init() are preferred for modules.

    This was intentional. When compiled as a module, subsys_initcall becomes
    module_init(). When compiled in-kernel, this code is initialized before most
    drivers, so it's ready when the drivers are loaded.

    > Acked-by: Li Yang <leoli@freescale.com>

    Thanks.

    --
    Timur Tabi
    Linux kernel developer at Freescale


    \
     
     \ /
      Last update: 2008-09-25 15:57    [W:0.018 / U:0.684 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site