History

platform/x86: msi-ec: Ensure dmi_system_id is defined

Currently <linux/acpi.h> includes <linux/mod_devicetable.h> and thus dmi_system_id is available for the driver. To disentangle includes <linux/acpi.h> will be changed to only include the header for acpi_device_id instead of the full <linux/mod_devicetable.h>. To prepare for that include the dedicated header for struct dmi_device_id.

Uwe Kleine-König (The Capable Hub) committed 4 months ago

Commit 4c8f3231 parent b14f8191 file · +1 −0Browse files

Unified · Split

drivers/platform/x86/msi-ec.c+1−0
@@ -23,6 +23,7 @@ · 22 unmodified lines
2323 #include <linux/init.h>
2424 #include <linux/kernel.h>
2525 #include <linux/module.h>
26+#include <linux/device-id/dmi.h>
2627 #include <linux/platform_device.h>
2728 #include <linux/seq_file.h>
2829 #include <linux/string.h>