[2.6 patch] build kernel/intermodule.c only when required

Jörn Engel joern at wohnheim.fh-wedel.de
Mon Nov 21 05:07:24 EST 2005


On Mon, 21 November 2005 10:30:41 +0100, Holger Schurig wrote:
> 
> >  config MTD_GEN_PROBE
> >         tristate
> > +       select OBSOLETE_INTERMODULE
> 
> MTD_GEN_PROBE get's selected by MTD_CFI. If I know my flash chips and don't 
> need any CFI detected, can I (easily) put the info into some platform data 
> and omit the compilation/exection of cfi_probe.c ?

Not easily.  Someone needs to clean up the whole spaghetti plate in
drivers/mtd that currently still uses OBSOLETE_INTERMODULE.  After
that is done, it may be simple to solve your problem as well.

Jörn

-- 
He who knows others is wise.
He who knows himself is enlightened.
-- Lao Tsu




More information about the linux-mtd mailing list