Re: [linux-usb] __initcall diff, version 2

From: Linus Torvalds (torvalds@transmeta.com)
Date: Mon Jan 31 2000 - 16:07:23 EST


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/



This archive was generated by hypermail 2b29 : Mon Feb 07 2000 - 21:00:05 EST