Re: [ibm-acpi-devel] [Patch] thinkpad_acpi: fix a build error

From: Randy Dunlap
Date: Fri Dec 25 2009 - 13:40:01 EST


On Fri, 25 Dec 2009 11:41:57 -0200 Henrique de Moraes Holschuh wrote:

> On Fri, 25 Dec 2009, Takashi Iwai wrote:
> > > "depends on SND || SND = n" takes care of the technical restrictions.
> >
> > Yep, that's what I mentioned as Kconfig dependency :)
>
> I think I will do it a bit different, so that you can opt-out ALSA support
> and still have thinkpad-acpi built in, with modular ALSA in that case.
>
> Which means that, due to the lack of "depends-but-not-hide", the
> "thinkpad-acpi alsa support" kconfig entry will still just disappear due to
> a "depends on SND && SND = THINKPAD_ACPI".
>
> I really want a depends that leaves the entry still visible, but greyed out
> :-(

That makes sense. And you can do that with xconfig, by setting
the Show All Options flag in the Option menu, but having that
feature for menuconfig and having those disabled options more
visible does sound good, I agree.


> > > The warning will be there. Although I don't warn of missing rfkill
> > > functionality if the kernel is missing the rfkill subsystem...
> >
> > The messages could be KERN_INFO instead of KERN_WARNING, I think.
>
> It is at KERN_NOTICE right now.


---
~Randy
--
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/