<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/raspberrypi (1 of 55 files). Show all
Unified · Split
| @@ -7,7 +7,7 @@ · 6 unmodified lines | |||
| 7 | #define _VCHIQ_DEVICE_H | 7 | #define _VCHIQ_DEVICE_H |
| 8 | 8 | ||
| 9 | #include <linux/device.h> | 9 | #include <linux/device.h> |
| 10 | #include <linux/mod_devicetable.h> | 10 | #include <linux/device-id/vchiq.h> |
| 11 | 11 | ||
| 12 | struct vchiq_drv_mgmt; | 12 | struct vchiq_drv_mgmt; |
| 13 | 13 | ||