Skip to content

Commit 2bfe3ae

Browse files
Torsten Hilbrichij-intel
authored andcommitted
platform/x86: Fix initialization order for firmware_attributes_class
The think-lmi driver uses the firwmare_attributes_class. But this class is registered after think-lmi, causing the "think-lmi" directory in "/sys/class/firmware-attributes" to be missing when the driver is compiled as builtin. Fixes: 5592240 ("platform/x86: think-lmi: Directly use firmware_attributes_class") Signed-off-by: Torsten Hilbrich <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Ilpo Järvinen <[email protected]> Signed-off-by: Ilpo Järvinen <[email protected]>
1 parent bc48d79 commit 2bfe3ae

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/platform/x86/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ obj-$(CONFIG_X86_PLATFORM_DRIVERS_HP) += hp/
5858
# Hewlett Packard Enterprise
5959
obj-$(CONFIG_UV_SYSFS) += uv_sysfs.o
6060

61+
obj-$(CONFIG_FW_ATTR_CLASS) += firmware_attributes_class.o
62+
6163
# IBM Thinkpad and Lenovo
6264
obj-$(CONFIG_IBM_RTL) += ibm_rtl.o
6365
obj-$(CONFIG_IDEAPAD_LAPTOP) += ideapad-laptop.o
@@ -128,7 +130,6 @@ obj-$(CONFIG_SYSTEM76_ACPI) += system76_acpi.o
128130
obj-$(CONFIG_TOPSTAR_LAPTOP) += topstar-laptop.o
129131

130132
# Platform drivers
131-
obj-$(CONFIG_FW_ATTR_CLASS) += firmware_attributes_class.o
132133
obj-$(CONFIG_SERIAL_MULTI_INSTANTIATE) += serial-multi-instantiate.o
133134
obj-$(CONFIG_TOUCHSCREEN_DMI) += touchscreen_dmi.o
134135
obj-$(CONFIG_WIRELESS_HOTKEY) += wireless-hotkey.o

0 commit comments

Comments
 (0)