On Tue, May 16, 2006 at 04:14:06PM -0700, David S. Miller (davem@davemloft.net) wrote:
From: Evgeniy Polyakov <redacted>
Date: Sat, 6 May 2006 12:40:45 +0400
quoted
I think the right solution is to call external init functions after cn
init function, but it's ordering is not always known.
In-kernel build of connector subsystem can be handled by
making cn_init a "subsystem_init()", it will then be setup
before any possible static or modular reference as long as
those modules use module_init().
subsystem_init() seems to be kobject related initilizator.
Maybe subsys_initcall()?
I will cook up a patch if it works.
Thank you.
--
Evgeniy Polyakov