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

From: Henrique de Moraes Holschuh
Date: Fri Dec 25 2009 - 08:42:13 EST


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
:-(

> > 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.

--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh
--
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/