History

Replace <linux/mod_devicetable.h> by more specific <linux/device-id/*.h> (headers)

<linux/mod_devicetable.h> is included in a many files: $ git grep '<linux/mod_devicetable.h>' ef0c9f75a195 | wc -l 1598 ; some of them are widely used headers. To stop mixing up different and unrelated driver( type)s let the subsystem headers only use the subset of the recently split <linux/mod_devicetable.h> that are relevant for them. The fallout (I hope) is addressed in the previous commits that handle sources relying on e.g. <linux/i2c.h> pulling in the full legacy header and thus providing pci_device_id.

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

Commit ecca1d61 parent a7e8cae55 files · +57 −59Browse files

Showing the changes to include/linux/platform_data (1 of 55 files). Show all

Unified · Split

include/linux/platform_data/x86/soc.h+1−1
@@ -12,7 +12,7 @@ · 11 unmodified lines
1212
1313 #if IS_ENABLED(CONFIG_X86)
1414
15−#include <linux/mod_devicetable.h>
15+#include <linux/device-id/x86_cpu.h>
1616
1717 #include <asm/cpu_device_id.h>
1818