Messages in this thread | | | Date | Wed, 13 Dec 2006 16:18:16 -0800 (PST) | Subject | Re: [2.6 patch] drivers/net/loopback.c: convert to module_init() | From | David Miller <> |
| |
From: Thomas Graf <tgraf@suug.ch> Date: Thu, 14 Dec 2006 00:18:48 +0100
> Not really, the device management inits as subsys, the ip layer hooks > into fs_initcall() which comes right after. The loopback was actually > registered after the protocol so far. I think Adrian's patch is fine > if the module_init() is changed to device_initcall().
module_init == device_initcall when the object is being compiled statically into the kernel, which is always the case for the loopback driver
I mentioned this in my original reply to Adrian, just in case anyone happened to actually read that :-) - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |