diff options
| author | Thomas Weißschuh <linux@weissschuh.net> | 2025-01-04 02:05:09 +0300 |
|---|---|---|
| committer | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2025-01-09 14:40:17 +0300 |
| commit | d0eee1be379204d2ee6cdb09bd98b3fd0165b6d3 (patch) | |
| tree | eeb5352979c7dc5e0ef85c437e20b96856ef66f1 /drivers/platform/x86/firmware_attributes_class.h | |
| parent | 053c409951db96ca3043e568572b940a99d2464f (diff) | |
| download | linux-d0eee1be379204d2ee6cdb09bd98b3fd0165b6d3.tar.xz | |
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>
Diffstat (limited to 'drivers/platform/x86/firmware_attributes_class.h')
| -rw-r--r-- | drivers/platform/x86/firmware_attributes_class.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/platform/x86/firmware_attributes_class.h b/drivers/platform/x86/firmware_attributes_class.h index 363c75f1ac1b..8e0f47cfdf92 100644 --- a/drivers/platform/x86/firmware_attributes_class.h +++ b/drivers/platform/x86/firmware_attributes_class.h @@ -5,6 +5,8 @@ #ifndef FW_ATTR_CLASS_H #define FW_ATTR_CLASS_H +#include <linux/device/class.h> + int fw_attributes_class_get(const struct class **fw_attr_class); int fw_attributes_class_put(void); |
