[PATCH][RFC] Make entire ACPI submenu dependent on PM.
From: Robert P. J. Day
Date: Sun Mar 04 2007 - 13:50:38 EST
Make the visibility of the entire ACPI submenu dependent on PM.
Signed-off-by: Robert P. J. Day <rpjday@xxxxxxxxxxxxxx>
---
given that de-selecting Power Management (PM) de-activates the
entire contents of the ACPI submenu, it seems pointless to leave the
top-level menu entry visible. but this is just a hack and i'll leave
it to the official maintainers to do it properly. :-)
diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig
index 7c49e10..3208ce0 100644
--- a/drivers/acpi/Kconfig
+++ b/drivers/acpi/Kconfig
@@ -7,6 +7,7 @@ menu "ACPI (Advanced Configuration and Power Interface) Support"
depends on !X86_VISWS
depends on !IA64_HP_SIM
depends on IA64 || X86
+ depends on PM
config ACPI
bool "ACPI Support"
--
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA
http://fsdev.net/wiki/index.php?title=Main_Page
========================================================================
-
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/