lkml.org 
[lkml]   [2000]   [Feb]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [linux-usb] __initcall diff, version 2


On Mon, 31 Jan 2000, Jeff Garzik wrote:
>
> Adding to this, for modules which require explicit init order like
> fbdev, you will typically find a single ifdef:
>
> #ifdef MODULE
> module_init(driver_init);
> #endif

Well, even for that case you should be able to just make sure that the
linking order is right, and this single ifdef is also unnecessary.
However, it is certainly better as a half-measure than the jungle that
some drivers have for historical reasons..

Linus


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:56    [W:0.097 / U:0.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site