Commit 6758f73f authored by Torsten Hilbrich's avatar Torsten Hilbrich Committed by Greg Kroah-Hartman
Browse files

platform/x86: Fix initialization order for firmware_attributes_class



[ Upstream commit 2bfe3ae1 ]

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: 55922403 ("platform/x86: think-lmi: Directly use firmware_attributes_class")
Signed-off-by: default avatarTorsten Hilbrich <torsten.hilbrich@secunet.com>
Link: https://lore.kernel.org/r/7dce5f7f-c348-4350-ac53-d14a8e1e8034@secunet.com


Reviewed-by: default avatarIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: default avatarIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent d72c97b6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment