lkml.org 
[lkml]   [2010]   [Mar]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCHv2] USB: composite: allow optional removal of __init and __exit tags
On Mon, Mar 15, 2010 at 01:48:18PM +0100, Michal Nazarewicz wrote:
> The composite framework has been written using __init and __exit tags
> to mark init and exit functions as such. This works with most of the
> composite gadgets however some may need to call init/exit functions
> during normal operations. One example is mass storage gadget which
> needs to call exit functions.
>
> This patch allows gadgets to define USB_NO_INIT_SEGMENT or
> USB_NO_EXIT_SEGMENT to remove the __init and __exit declarations
> from composite framework.

wouldn't it be the same as changing from __init to __devinit and __exit
to __devexit ??

--
balbi


\
 
 \ /
  Last update: 2010-03-15 19:09    [W:0.032 / U:5.620 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site