Skip to content

Commit 4033741

Browse files
Matthew Garretttorvalds
authored andcommitted
ACPI: Reorder IPMI driver before any other ACPI drivers
Drivers may make calls that require the ACPI IPMI driver to have been initialised already, so make sure that it appears earlier in the build order. Signed-off-by: Matthew Garrett <mjg@redhat.com> Signed-off-by: Corey Minyard <cminyard@mvista.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent d1bdc40 commit 4033741

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎drivers/acpi/Makefile‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ acpi-y += video_detect.o
4747
endif
4848

4949
# These are (potentially) separate modules
50+
51+
# IPMI may be used by other drivers, so it has to initialise before them
52+
obj-$(CONFIG_ACPI_IPMI) += acpi_ipmi.o
53+
5054
obj-$(CONFIG_ACPI_AC) += ac.o
5155
obj-$(CONFIG_ACPI_BUTTON) += button.o
5256
obj-$(CONFIG_ACPI_FAN) += fan.o
@@ -70,6 +74,5 @@ processor-y += processor_idle.o processor_thermal.o
7074
processor-$(CONFIG_CPU_FREQ) += processor_perflib.o
7175

7276
obj-$(CONFIG_ACPI_PROCESSOR_AGGREGATOR) += acpi_pad.o
73-
obj-$(CONFIG_ACPI_IPMI) += acpi_ipmi.o
7477

7578
obj-$(CONFIG_ACPI_APEI) += apei/

0 commit comments

Comments
 (0)