]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
firmware_loader: make RUST_FW_LOADER_ABSTRACTIONS select FW_LOADER
authorAlexandre Courbot <acourbot@nvidia.com>
Thu, 6 Nov 2025 02:40:54 +0000 (11:40 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Dec 2025 12:55:08 +0000 (13:55 +0100)
[ Upstream commit 9906efa545d1d2cf25a614eeb219d3f8d5a302cd ]

The use of firmware_loader is an implementation detail of drivers rather
than a dependency. FW_LOADER is typically selected rather than depended
on; the Rust abstractions should do the same thing.

Fixes: de6582833db0 ("rust: add firmware abstractions")
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Link: https://patch.msgid.link/20251106-b4-select-rust-fw-v3-1-771172257755@nvidia.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/base/firmware_loader/Kconfig

index a0370167426514222cd870865cf57c938333512a..4bf593fb253ac0684afba4d99c69f3e381db7d6a 100644 (file)
@@ -40,7 +40,7 @@ config FW_LOADER_DEBUG
 config RUST_FW_LOADER_ABSTRACTIONS
        bool "Rust Firmware Loader abstractions"
        depends on RUST
-       depends on FW_LOADER=y
+       select FW_LOADER
        help
          This enables the Rust abstractions for the firmware loader API.