]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Replace <linux/mod_devicetable.h> by more specific <linux/device-id/*.h> (headers)
authorUwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>
Tue, 30 Jun 2026 09:24:35 +0000 (11:24 +0200)
committerUwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>
Fri, 3 Jul 2026 05:38:16 +0000 (07:38 +0200)
commitecca1d63c1eadbbb38ceab82de0f7adfbc2b465d
treed0201da24e0ceaafac066fb3c079f3438b1b1b2d
parenta7e8cae4c60e693fffa493c7e3088cd03ee66232
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.

Acked-by: Danilo Krummrich <dakr@kernel.org>
Acked-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Link: https://patch.msgid.link/199fe46b624ba07fb9bd3e0cd6ff13757932cb5f.1782808461.git.u.kleine-koenig@baylibre.com
Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>
55 files changed:
arch/mips/include/asm/cdmm.h
arch/parisc/include/asm/hardware.h
arch/parisc/include/asm/parisc-device.h
arch/s390/include/asm/ccwdev.h
arch/x86/include/asm/cpu_device_id.h
drivers/hid/intel-ish-hid/ishtp/bus.h
include/linux/acpi.h
include/linux/amba/bus.h
include/linux/auxiliary_bus.h
include/linux/bcma/bcma.h
include/linux/cdx/cdx_bus.h
include/linux/dfl.h
include/linux/dmi.h
include/linux/eisa.h
include/linux/firewire.h
include/linux/fsl/mc.h
include/linux/hid.h
include/linux/hyperv.h
include/linux/i2c.h
include/linux/i3c/device.h
include/linux/input.h
include/linux/intel-ish-client-if.h
include/linux/ipack.h
include/linux/isapnp.h
include/linux/mcb.h
include/linux/mei_cl_bus.h
include/linux/mhi.h
include/linux/mmc/sdio_func.h
include/linux/of.h
include/linux/of_platform.h
include/linux/pci-epf.h
include/linux/pci.h
include/linux/phy.h
include/linux/platform_data/x86/soc.h
include/linux/pnp.h
include/linux/raspberrypi/vchiq_bus.h
include/linux/rio.h
include/linux/rpmsg.h
include/linux/serio.h
include/linux/slimbus.h
include/linux/soc/qcom/apr.h
include/linux/soundwire/sdw.h
include/linux/spi/spi.h
include/linux/ssb/ssb.h
include/linux/surface_aggregator/device.h
include/linux/tee_drv.h
include/linux/thunderbolt.h
include/linux/ulpi/driver.h
include/linux/usb.h
include/linux/usb/typec_altmode.h
include/linux/virtio.h
include/linux/wmi.h
include/linux/zorro.h
include/pcmcia/ds.h
include/sound/hda_codec.h