diff options
| author | Thomas Weißschuh <[email protected]> | 2025-01-03 23:05:09 +0000 |
|---|---|---|
| committer | Ilpo Järvinen <[email protected]> | 2025-01-09 11:40:17 +0000 |
| commit | d0eee1be379204d2ee6cdb09bd98b3fd0165b6d3 (patch) | |
| tree | eeb5352979c7dc5e0ef85c437e20b96856ef66f1 /drivers/platform/x86/firmware_attributes_class.c | |
| parent | platform/x86: thinkpad-acpi: replace strcpy with strscpy (diff) | |
| download | kernel-d0eee1be379204d2ee6cdb09bd98b3fd0165b6d3.tar.gz kernel-d0eee1be379204d2ee6cdb09bd98b3fd0165b6d3.zip | |
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 <[email protected]>
Reviewed-by: Armin Wolf <[email protected]>
Reviewed-by: Mario Limonciello <[email protected]>
Reviewed-by: Mark Pearson <[email protected]>
Tested-by: Mark Pearson <[email protected]>
Link: https://lore.kernel.org/r/20250104-firmware-attributes-simplify-v1-1-949f9709e405@weissschuh.net
Reviewed-by: Ilpo Järvinen <[email protected]>
Signed-off-by: Ilpo Järvinen <[email protected]>
Diffstat (limited to 'drivers/platform/x86/firmware_attributes_class.c')
| -rw-r--r-- | drivers/platform/x86/firmware_attributes_class.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/platform/x86/firmware_attributes_class.c b/drivers/platform/x86/firmware_attributes_class.c index 182a07d8ae3d..cbc56e5db592 100644 --- a/drivers/platform/x86/firmware_attributes_class.c +++ b/drivers/platform/x86/firmware_attributes_class.c @@ -3,7 +3,6 @@ /* Firmware attributes class helper module */ #include <linux/mutex.h> -#include <linux/device/class.h> #include <linux/module.h> #include "firmware_attributes_class.h" |
