Re: PPC: unresolved module symbols in 2.4.20-pre7+bk
Tom Rini (trini@kernel.crashing.org)
Thu, 26 Sep 2002 09:08:42 -0700
On Thu, Sep 26, 2002 at 05:59:09PM +0200, Bj?rn Stenberg wrote:
> Tom Rini wrote:
> > > > > depmod: *** Unresolved symbols in /lib/modules/2.4.20-pre7/kernel/drivers/usb/storage/usb-storage.o
> > > > > depmod: ppc_generic_ide_fix_driveid
> >
> > Configuration issue. CONFIG_USB_STORAGE_ISD200 needs to depend on
> > CONFIG_IDE, since it calls ide_fixup_driveid(). Greg? Bj?rn?
>
> This is only an issue for PPC and SPARC64. Other targets have an empty macro for ide_fix_driveid().
>
> I don't know how this kind of "target-dependent dependency" is normally handled. The attached patch is one way.
It should be a universal depenancy on CONFIG_IDE, since you're still
using IDE code regardless of it being empty or not, IMHO.
--
Tom Rini (TR1265)
http://gate.crashing.org/~trini/
-
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/