]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
platform/x86: Fix initialization order for firmware_attributes_class
authorTorsten Hilbrich <torsten.hilbrich@secunet.com>
Fri, 11 Jul 2025 10:32:54 +0000 (12:32 +0200)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Fri, 11 Jul 2025 15:52:54 +0000 (18:52 +0300)
commit2bfe3ae1aa45f8b61cb0dc462114fd0c9636ad32
treebdc5dd1659bf8fe7bd68c0b079eef745f35a313c
parentbc48d79a1829ac5a79cc3d1eb8bf30c0ae9b3bcd
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: 55922403807a ("platform/x86: think-lmi: Directly use firmware_attributes_class")
Signed-off-by: Torsten Hilbrich <torsten.hilbrich@secunet.com>
Link: https://lore.kernel.org/r/7dce5f7f-c348-4350-ac53-d14a8e1e8034@secunet.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/Makefile