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)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Thu, 9 Jan 2025 11:40:17 +0000 (13:40 +0200)
commitd0eee1be379204d2ee6cdb09bd98b3fd0165b6d3
treeeeb5352979c7dc5e0ef85c437e20b96856ef66f1
parent053c409951db96ca3043e568572b940a99d2464f
platform/x86: firmware_attributes_class: Move include linux/device/class.h

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>
drivers/platform/x86/firmware_attributes_class.c
drivers/platform/x86/firmware_attributes_class.h