ACPI: ibm-acpi: fix Kconfig entries for ibm-acpi bay and dockv2.6.18.6+ibm-acpi-20061230
commit00e87c9fa1e6726c122cce4e205c84fb218afcd3
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sat, 30 Dec 2006 17:52:04 +0000 (30 15:52 -0200)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sat, 30 Dec 2006 20:26:14 +0000 (30 18:26 -0200)
tree5df519fe51e7630f7031b5c44b53304431727d3a
parent868e6983fe406beb10592267d27f6b713bf0c902
ACPI: ibm-acpi: fix Kconfig entries for ibm-acpi bay and dock

Support for ACPI_BAY has not been merged in mainline yet.  Usage of
"depends on FOO=n" fails if FOO is undefined, thus ibm-acpi support
for bay was being made non-available in a kernel that has no other
sort of bay support.

Fix it to use "depends on ! FOO" instead, that does the right thing
when FOO is undefined.  Fix ACPI_IBM_DOCK accordingly as well while
at it, and also improve the help text.

Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
drivers/acpi/Kconfig