[linux-usb] __initcall diff, version 2

Jeff Garzik jgarzik en mandrakesoft.mandrakesoft.com
Lun Ene 31 11:37:49 CST 2000



On Sun, 30 Jan 2000, Randy Dunlap wrote:

> Hi,
> 
> I like the idea of this __initcall patch for USB.
> However, I've searched other 2.3.4x drivers and found
> very little use of __initcall.
> 
> Is this because __initcall is relatively new, or that
> there are problems with it?  If problems, what kinds
> of problems?

Because it's new.  :)

I am slowly moving drivers over to initcall -- you'll notice a couple
more in the 2.3.41 patch.

The only "gotcha" is initialization order -- if initialization order is
critical, you must guarantee that via Makefile link order.

	Jeff





-
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