diff options
author | Lv Zheng <lv.zheng@intel.com> | 2015-12-02 21:43:14 -0500 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-12-14 18:17:44 -0500 |
commit | 836d0830188a97d5c73e8eb514f346a857c086b9 (patch) | |
tree | c2eb9b87cdf6a5096e8d3bf2d1418717b2023a10 /drivers/acpi/Makefile | |
parent | 37645d6590a49d3009eecdf093599795da2b5b41 (diff) |
ACPI / debugger: Add module support for ACPI debugger
This patch converts AML debugger into a loadable module.
Note that, it implements driver unloading at the level dependent on the
module reference count. Which means if ACPI debugger is being used by a
userspace program, "rmmod acpi_dbg" should result in failure.
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/Makefile')
-rw-r--r-- | drivers/acpi/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/Makefile b/drivers/acpi/Makefile index 102b5e610425..c6f236f1b510 100644 --- a/drivers/acpi/Makefile +++ b/drivers/acpi/Makefile | |||
@@ -50,7 +50,6 @@ acpi-y += sysfs.o | |||
50 | acpi-y += property.o | 50 | acpi-y += property.o |
51 | acpi-$(CONFIG_X86) += acpi_cmos_rtc.o | 51 | acpi-$(CONFIG_X86) += acpi_cmos_rtc.o |
52 | acpi-$(CONFIG_DEBUG_FS) += debugfs.o | 52 | acpi-$(CONFIG_DEBUG_FS) += debugfs.o |
53 | acpi-$(CONFIG_ACPI_DEBUGGER) += acpi_dbg.o | ||
54 | acpi-$(CONFIG_ACPI_NUMA) += numa.o | 53 | acpi-$(CONFIG_ACPI_NUMA) += numa.o |
55 | acpi-$(CONFIG_ACPI_PROCFS_POWER) += cm_sbs.o | 54 | acpi-$(CONFIG_ACPI_PROCFS_POWER) += cm_sbs.o |
56 | acpi-y += acpi_lpat.o | 55 | acpi-y += acpi_lpat.o |
@@ -80,6 +79,7 @@ obj-$(CONFIG_ACPI_EC_DEBUGFS) += ec_sys.o | |||
80 | obj-$(CONFIG_ACPI_CUSTOM_METHOD)+= custom_method.o | 79 | obj-$(CONFIG_ACPI_CUSTOM_METHOD)+= custom_method.o |
81 | obj-$(CONFIG_ACPI_BGRT) += bgrt.o | 80 | obj-$(CONFIG_ACPI_BGRT) += bgrt.o |
82 | obj-$(CONFIG_ACPI_CPPC_LIB) += cppc_acpi.o | 81 | obj-$(CONFIG_ACPI_CPPC_LIB) += cppc_acpi.o |
82 | obj-$(CONFIG_ACPI_DEBUGGER_USER) += acpi_dbg.o | ||
83 | 83 | ||
84 | # processor has its own "processor." module_param namespace | 84 | # processor has its own "processor." module_param namespace |
85 | processor-y := processor_driver.o | 85 | processor-y := processor_driver.o |