Re: [PATCH] usb/atm: fix Kconfig garbage

From: Borislav Petkov
Date: Mon Jul 23 2007 - 12:02:44 EST


On Mon, Jul 23, 2007 at 01:53:30PM +0200, Adrian Bunk wrote:
> On Mon, Jul 23, 2007 at 08:56:04AM +0200, Borislav Petkov wrote:
> > Hi there,
> >
> > I don't know whether this is the proper Kconfig-way to fix this but it works ok here.
> >
> > ----
> > When entered, the menu point "USB DSL modem support" in menuconfig, path [Device Drivers->USB
> > Support] shows no entries but "^@" instead. The following fixes it.
> >
> > Signed-off-by: Borislav Petkov <bbpetkov@xxxxxxxx>
> >
> > --
> > --- linux-2.6.23-rc1/drivers/usb/atm/Kconfig.orig 2007-07-23 08:27:29.000000000 +0200
> > +++ linux-2.6.23-rc1/drivers/usb/atm/Kconfig 2007-07-23 08:50:55.000000000 +0200
> > @@ -7,7 +7,8 @@ menu "USB DSL modem support"
> >
> > config USB_ATM
> > tristate "USB DSL modem support"
> > - depends on USB && ATM
> > + depends on USB
> > + select ATM
> > select CRC32
> > default n
> > help
>
> This would break the compilation with CONFIG_NET=n.

Aha, so the logic behind it is that this submenu should be displayed in kconfig only if ATM
is selected. Ok, I get it, thanks.

--
Regards/Gruß,
Boris.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/