<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.
Showing the changes to include/linux/platform_data (1 of 55 files). Show all
Unified · Split
| @@ -12,7 +12,7 @@ · 11 unmodified lines | ||
| 12 | 12 | |
| 13 | 13 | #if IS_ENABLED(CONFIG_X86) |
| 14 | 14 | |
| 15 | −#include <linux/mod_devicetable.h> | |
| 15 | +#include <linux/device-id/x86_cpu.h> | |
| 16 | 16 | |
| 17 | 17 | #include <asm/cpu_device_id.h> |
| 18 | 18 | |