]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
rust: pci: do not depend on CONFIG_PCI_MSI
authorDanilo Krummrich <dakr@kernel.org>
Fri, 3 Jan 2025 16:46:01 +0000 (17:46 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 7 Jan 2025 10:31:39 +0000 (11:31 +0100)
commit7e16820fe538e1d36a3bc5aab42f7d2c9d14d0fe
tree68e39101afffd949e127968f06fe2ee12d73aa4e
parent7687c66c18c66d4ccd9949c6f641c0e7b5773483
rust: pci: do not depend on CONFIG_PCI_MSI

The PCI abstractions do not actually depend on CONFIG_PCI_MSI; it also
breaks drivers that only depend on CONFIG_PCI, hence drop it.

While at it, move the module entry to its correct location.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202501030744.4ucqC1cB-lkp@intel.com/
Fixes: 1bd8b6b2c5d3 ("rust: pci: add basic PCI device / driver abstractions")
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Link: https://lore.kernel.org/r/20250103164655.96590-2-dakr@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
rust/kernel/lib.rs