summaryrefslogtreecommitdiff
path: root/drivers/acpi/Kconfig
diff options
context:
space:
mode:
authorOctavian Purdila <octavian.purdila@intel.com>2016-07-08 19:13:13 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-07-08 22:52:35 +0300
commit0bf54fcd95042bd178cb25368422cf4474fc8492 (patch)
treea2fe90bbf9bc61e98537458bdf1ade479288f669 /drivers/acpi/Kconfig
parent475fb4e8b2f4444d1d7b406ff3a7d21bc89a1e6f (diff)
downloadlinux-0bf54fcd95042bd178cb25368422cf4474fc8492.tar.xz
ACPI: add support for configfs
Register the ACPI subsystem with configfs. Signed-off-by: Octavian Purdila <octavian.purdila@intel.com> Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/Kconfig')
-rw-r--r--drivers/acpi/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig
index 0a8e41a52d09..b420e5dd8a56 100644
--- a/drivers/acpi/Kconfig
+++ b/drivers/acpi/Kconfig
@@ -524,4 +524,12 @@ config XPOWER_PMIC_OPREGION
endif
+config ACPI_CONFIGFS
+ tristate "ACPI configfs support"
+ select CONFIGFS_FS
+ help
+ Select this option to enable support for ACPI configuration from
+ userspace. The configurable ACPI groups will be visible under
+ /config/acpi, assuming configfs is mounted under /config.
+
endif # ACPI