[linux-usb] __initcall diff, version 2

Linus Torvalds torvalds en transmeta.com
Lun Ene 31 22:03:47 CST 2000



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 en vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



Más información sobre la lista de distribución Ayuda