diff options
author | Len Brown <len.brown@intel.com> | 2009-04-05 01:45:50 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-04-05 01:45:50 -0400 |
commit | edd84690d15e4cb144cc60b754d4eaf8fac0a711 (patch) | |
tree | 4fc645c52ad9eebcdf59a6ab32d534df121dd280 /drivers/acpi | |
parent | 7c27fd19b6d985957424348361afa066ff4c74d8 (diff) | |
parent | ae7d51517bc3b0fe10c6af38234ef0f92bbae6a4 (diff) |
Merge branch 'acpi-modparam' into release
Conflicts:
drivers/acpi/Makefile
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi')
-rw-r--r-- | drivers/acpi/Makefile | 46 | ||||
-rw-r--r-- | drivers/acpi/debug.c | 5 | ||||
-rw-r--r-- | drivers/acpi/power.c | 4 | ||||
-rw-r--r-- | drivers/acpi/system.c | 4 |
4 files changed, 26 insertions, 33 deletions
diff --git a/drivers/acpi/Makefile b/drivers/acpi/Makefile index 61675e21fba2..4d4e3e02fcb7 100644 --- a/drivers/acpi/Makefile +++ b/drivers/acpi/Makefile | |||
@@ -14,44 +14,50 @@ obj-$(CONFIG_X86) += blacklist.o | |||
14 | # | 14 | # |
15 | # ACPI Core Subsystem (Interpreter) | 15 | # ACPI Core Subsystem (Interpreter) |
16 | # | 16 | # |
17 | obj-y += osl.o utils.o reboot.o\ | 17 | obj-y += acpi.o \ |
18 | acpica/ | 18 | acpica/ |
19 | 19 | ||
20 | # All the builtin files are in the "acpi." module_param namespace. | ||
21 | acpi-y += osl.o utils.o reboot.o | ||
22 | |||
20 | # sleep related files | 23 | # sleep related files |
21 | obj-y += wakeup.o | 24 | acpi-y += wakeup.o |
22 | obj-y += sleep.o | 25 | acpi-y += sleep.o |
23 | obj-$(CONFIG_ACPI_SLEEP) += proc.o | 26 | acpi-$(CONFIG_ACPI_SLEEP) += proc.o |
24 | 27 | ||
25 | 28 | ||
26 | # | 29 | # |
27 | # ACPI Bus and Device Drivers | 30 | # ACPI Bus and Device Drivers |
28 | # | 31 | # |
29 | processor-objs += processor_core.o processor_throttling.o \ | 32 | acpi-y += bus.o glue.o |
30 | processor_idle.o processor_thermal.o | 33 | acpi-y += scan.o |
31 | ifdef CONFIG_CPU_FREQ | 34 | acpi-y += ec.o |
32 | processor-objs += processor_perflib.o | 35 | acpi-$(CONFIG_ACPI_DOCK) += dock.o |
36 | acpi-y += pci_root.o pci_link.o pci_irq.o pci_bind.o | ||
37 | acpi-y += power.o | ||
38 | acpi-y += system.o event.o | ||
39 | acpi-$(CONFIG_ACPI_DEBUG) += debug.o | ||
40 | acpi-$(CONFIG_ACPI_NUMA) += numa.o | ||
41 | acpi-$(CONFIG_ACPI_PROCFS_POWER) += cm_sbs.o | ||
42 | ifdef CONFIG_ACPI_VIDEO | ||
43 | acpi-y += video_detect.o | ||
33 | endif | 44 | endif |
34 | 45 | ||
35 | obj-y += bus.o glue.o scan.o ec.o \ | 46 | # These are (potentially) separate modules |
36 | power.o system.o event.o | ||
37 | obj-$(CONFIG_ACPI_AC) += ac.o | 47 | obj-$(CONFIG_ACPI_AC) += ac.o |
38 | obj-$(CONFIG_ACPI_BATTERY) += battery.o | 48 | obj-$(CONFIG_ACPI_BATTERY) += battery.o |
39 | obj-$(CONFIG_ACPI_BUTTON) += button.o | 49 | obj-$(CONFIG_ACPI_BUTTON) += button.o |
40 | obj-$(CONFIG_ACPI_FAN) += fan.o | 50 | obj-$(CONFIG_ACPI_FAN) += fan.o |
41 | obj-$(CONFIG_ACPI_DOCK) += dock.o | ||
42 | obj-$(CONFIG_ACPI_VIDEO) += video.o | 51 | obj-$(CONFIG_ACPI_VIDEO) += video.o |
43 | ifdef CONFIG_ACPI_VIDEO | ||
44 | obj-y += video_detect.o | ||
45 | endif | ||
46 | |||
47 | obj-y += pci_root.o pci_link.o pci_irq.o pci_bind.o | ||
48 | obj-$(CONFIG_ACPI_PCI_SLOT) += pci_slot.o | 52 | obj-$(CONFIG_ACPI_PCI_SLOT) += pci_slot.o |
49 | obj-$(CONFIG_ACPI_PROCESSOR) += processor.o | 53 | obj-$(CONFIG_ACPI_PROCESSOR) += processor.o |
50 | obj-$(CONFIG_ACPI_CONTAINER) += container.o | 54 | obj-$(CONFIG_ACPI_CONTAINER) += container.o |
51 | obj-$(CONFIG_ACPI_THERMAL) += thermal.o | 55 | obj-$(CONFIG_ACPI_THERMAL) += thermal.o |
52 | obj-$(CONFIG_ACPI_DEBUG) += debug.o | 56 | obj-$(CONFIG_ACPI_HOTPLUG_MEMORY) += acpi_memhotplug.o |
53 | obj-$(CONFIG_ACPI_NUMA) += numa.o | ||
54 | obj-$(CONFIG_ACPI_HOTPLUG_MEMORY) += acpi_memhotplug.o | ||
55 | obj-$(CONFIG_ACPI_PROCFS_POWER) += cm_sbs.o | ||
56 | obj-$(CONFIG_ACPI_SBS) += sbshc.o | 57 | obj-$(CONFIG_ACPI_SBS) += sbshc.o |
57 | obj-$(CONFIG_ACPI_SBS) += sbs.o | 58 | obj-$(CONFIG_ACPI_SBS) += sbs.o |
59 | |||
60 | # processor has its own "processor." module_param namespace | ||
61 | processor-y := processor_core.o processor_throttling.o | ||
62 | processor-y += processor_idle.o processor_thermal.o | ||
63 | processor-$(CONFIG_CPU_FREQ) += processor_perflib.o | ||
diff --git a/drivers/acpi/debug.c b/drivers/acpi/debug.c index 9cb189f3c77c..a8287be0870e 100644 --- a/drivers/acpi/debug.c +++ b/drivers/acpi/debug.c | |||
@@ -13,11 +13,6 @@ | |||
13 | #define _COMPONENT ACPI_SYSTEM_COMPONENT | 13 | #define _COMPONENT ACPI_SYSTEM_COMPONENT |
14 | ACPI_MODULE_NAME("debug"); | 14 | ACPI_MODULE_NAME("debug"); |
15 | 15 | ||
16 | #ifdef MODULE_PARAM_PREFIX | ||
17 | #undef MODULE_PARAM_PREFIX | ||
18 | #endif | ||
19 | #define MODULE_PARAM_PREFIX "acpi." | ||
20 | |||
21 | struct acpi_dlayer { | 16 | struct acpi_dlayer { |
22 | const char *name; | 17 | const char *name; |
23 | unsigned long value; | 18 | unsigned long value; |
diff --git a/drivers/acpi/power.c b/drivers/acpi/power.c index 11968ba28feb..56665a63bf19 100644 --- a/drivers/acpi/power.c +++ b/drivers/acpi/power.c | |||
@@ -54,10 +54,6 @@ ACPI_MODULE_NAME("power"); | |||
54 | #define ACPI_POWER_RESOURCE_STATE_ON 0x01 | 54 | #define ACPI_POWER_RESOURCE_STATE_ON 0x01 |
55 | #define ACPI_POWER_RESOURCE_STATE_UNKNOWN 0xFF | 55 | #define ACPI_POWER_RESOURCE_STATE_UNKNOWN 0xFF |
56 | 56 | ||
57 | #ifdef MODULE_PARAM_PREFIX | ||
58 | #undef MODULE_PARAM_PREFIX | ||
59 | #endif | ||
60 | #define MODULE_PARAM_PREFIX "acpi." | ||
61 | int acpi_power_nocheck; | 57 | int acpi_power_nocheck; |
62 | module_param_named(power_nocheck, acpi_power_nocheck, bool, 000); | 58 | module_param_named(power_nocheck, acpi_power_nocheck, bool, 000); |
63 | 59 | ||
diff --git a/drivers/acpi/system.c b/drivers/acpi/system.c index 44be75ee7264..da51f05ef8d8 100644 --- a/drivers/acpi/system.c +++ b/drivers/acpi/system.c | |||
@@ -33,10 +33,6 @@ | |||
33 | 33 | ||
34 | #define _COMPONENT ACPI_SYSTEM_COMPONENT | 34 | #define _COMPONENT ACPI_SYSTEM_COMPONENT |
35 | ACPI_MODULE_NAME("system"); | 35 | ACPI_MODULE_NAME("system"); |
36 | #ifdef MODULE_PARAM_PREFIX | ||
37 | #undef MODULE_PARAM_PREFIX | ||
38 | #endif | ||
39 | #define MODULE_PARAM_PREFIX "acpi." | ||
40 | 36 | ||
41 | #define ACPI_SYSTEM_CLASS "system" | 37 | #define ACPI_SYSTEM_CLASS "system" |
42 | #define ACPI_SYSTEM_DEVICE_NAME "System" | 38 | #define ACPI_SYSTEM_DEVICE_NAME "System" |