Subject: [PATCH] [acpi driver model] Add config option for procfs interface - Create ACPI_DM_PROC for enabling the procfs interface. - Default to 'y', since all tools still depend on it. Signed-off-by: Patrick Mochel --- drivers/acpi/drivers/Kconfig | 22 ++++++++++++++++++++++ 1 files changed, 22 insertions(+), 0 deletions(-) applies-to: ef0df4464d143945c01b11b827474ca083bfee35 6a75a1e657f783c1833af6521ce8babced568238 diff --git a/drivers/acpi/drivers/Kconfig b/drivers/acpi/drivers/Kconfig index a067d0f..85da7b4 100644 --- a/drivers/acpi/drivers/Kconfig +++ b/drivers/acpi/drivers/Kconfig @@ -68,6 +68,28 @@ config ACPI_DM_SYSFS For more information on the interface that each driver exports, please see the documentation for that driver. +config ACPI_DM_PROC + bool "Enable procfs interface for ACPI devices" + depends on ACPI_DM && PROC_FS + default y + ---help--- + + This option enables a procfs configuration interface for + ACPI devices and drivers. By selecting this option, each ACPI + device will export a set of files via the proc filesystem. + + This interface is identical to the interface traditionally + offered through the legacy ACPI drivers. + + In the future, this interface will be removed, and the only + interface will be via sysfs. However, few (if any) userspace + tools have been updated to use the sysfs interface, so this + option is still available. + + + You definitely want to say 'Y' here. + + if ACPI_DM comment "ACPI Drivers (New Style)" --- 0.99.9.GIT