[PATCH] ACPI_IBM_BAY can not coexist with ACPI_BAY

From: Chris Wedgwood
Date: Thu Mar 15 2007 - 03:17:25 EST


ACPI_IBM_BAY cannot coexist with ACPI_BAY --- it causes the IBM ACPI
code to fail to initialize so all the IBM ACPI functionality is
missing. The simplest fix is to just make sure the Kconfig magic
disallows ACPI_IBM_BAY when ACPI_BAY is enabled.

Signed-off-by: Chris Wedgwood <cw@xxxxxxxx>

diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig
index e2ce4a9..1a83fc6 100644
--- a/drivers/acpi/Kconfig
+++ b/drivers/acpi/Kconfig
@@ -246,7 +246,7 @@ config ACPI_IBM_DOCK

config ACPI_IBM_BAY
bool "Legacy Removable Bay Support"
- depends on ACPI_IBM
+ depends on ACPI_IBM && !ACPI_BAY
default y
---help---
Allows the ibm_acpi driver to handle removable bays. It will allow

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