The branch stable/14 has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=00544b72f65f3f160d829445a0b8a26b375bfab9
commit 00544b72f65f3f160d829445a0b8a26b375bfab9 Author: Bjoern A. Zeeb <b...@freebsd.org> AuthorDate: 2025-06-22 22:44:40 +0000 Commit: Bjoern A. Zeeb <b...@freebsd.org> CommitDate: 2025-07-13 19:25:03 +0000 LinuxKPI: MODULE_DEVICE_TABLE() remove hard coded pci While we currently only use MODULE_DEVICE_TABLE() for pci (or so I thought [*]), this may soon change. Remove a hard coded "pci" for the bus and use the bus name passed in as _bus. [*] see follow-up change Sponsored by: The FreeBSD Foundation Reviewed by: imp, dumbbell Differential Revision: https://reviews.freebsd.org/D51048 (cherry picked from commit f58e032410c93d67c83d6bce8a3e6711f377a4be) --- sys/compat/linuxkpi/common/include/linux/pci.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/compat/linuxkpi/common/include/linux/pci.h b/sys/compat/linuxkpi/common/include/linux/pci.h index ccf86c7778e9..15fedb87e6e6 100644 --- a/sys/compat/linuxkpi/common/include/linux/pci.h +++ b/sys/compat/linuxkpi/common/include/linux/pci.h @@ -83,7 +83,7 @@ static driver_t _ ## _bus ## _ ## _table ## _driver = { \ 0 \ }; \ \ -DRIVER_MODULE(lkpi_ ## _table, pci, _ ## _bus ## _ ## _table ## _driver,\ +DRIVER_MODULE(lkpi_ ## _table, _bus, _ ## _bus ## _ ## _table ## _driver,\ 0, 0); \ \ MODULE_PNP_INFO("U32:vendor;U32:device;V32:subvendor;V32:subdevice", \