]> git.ipfire.org Git - thirdparty/kernel/linux.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>
Wed, 26 Nov 2025 13:32:10 +0000 (14:32 +0100)
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>
drivers/base/firmware_loader/Kconfig

index 752b9a9bea0388667e0cc1f20e2e2f6d5b388281..15eff8a4b50533e9b71aa9c7e20822701d0c9f9c 100644 (file)
@@ -38,7 +38,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.