Unfortunately, this is rather painful:
1) File A contains an initcall.
2) Find Module A which File A is part of.
3) For each exported symbol used by Module A
4) Find Module B which exports this symbol.
5) Find Files B which make up Module B.
6) For each initcall in Files B, insert a dependency.
Any clues for (2) and (5)?
Rusty.
-- there are those who do and those who hang on and you don't see too many doers quoting their contemporaries. -- Larry McVoy - 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/