]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
platform/x86: firmware_attributes_class: Move include linux/device/class.h
authorThomas Weißschuh <linux@weissschuh.net>
Fri, 3 Jan 2025 23:05:09 +0000 (00:05 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Jul 2025 14:03:09 +0000 (16:03 +0200)
commite52b896d5fb70dd140624d6a478c944f5e174e25
tree79f14dbf747c5877a0bf3934d3e5db1b8cd2aeb7
parent9143d22a09b5c11f2f711f07a62bf7f900c60d07
platform/x86: firmware_attributes_class: Move include linux/device/class.h

[ Upstream commit d0eee1be379204d2ee6cdb09bd98b3fd0165b6d3 ]

The header firmware_attributes_class.h uses 'struct class'. It should
also include the necessary dependency header.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Reviewed-by: Armin Wolf <W_Armin@gmx.de>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Reviewed-by: Mark Pearson <mpearson-lenovo@squebb.ca>
Tested-by: Mark Pearson <mpearson-lenovo@squebb.ca>
Link: https://lore.kernel.org/r/20250104-firmware-attributes-simplify-v1-1-949f9709e405@weissschuh.net
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Stable-dep-of: 5ff1fbb30597 ("platform/x86: think-lmi: Fix class device unregistration")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/platform/x86/firmware_attributes_class.c
drivers/platform/x86/firmware_attributes_class.h