ACPI: ibm-acpi: fix Kconfig entries for ibm-acpi bay and dockv2.6.19.1+ibm-acpi-20061230
commit3c7823147a9896a7bbfa8781cd3b1d4373cec896
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 17:59:04 +0000 (30 15:59 -0200)
treeca153f2e366ae12962c4f835f38a062f55598caf
parent535b7fdff21a91b5b1f27cf1254d4786a21d9bd2
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