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/raspberrypi (1 of 55 files). Show all

Unified · Split

include/linux/raspberrypi/vchiq_bus.h+1−1
@@ -7,7 +7,7 @@ · 6 unmodified lines
7#define _VCHIQ_DEVICE_H7#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
12struct vchiq_drv_mgmt;12struct vchiq_drv_mgmt;
13 13