Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

firmware_loader: make RUST_FW_LOADER_ABSTRACTIONS select FW_LOADER

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>

authored by

Alexandre Courbot and committed by
Greg Kroah-Hartman
9906efa5 98d86d87

+1 -1
+1 -1
drivers/base/firmware_loader/Kconfig
··· 38 38 config RUST_FW_LOADER_ABSTRACTIONS 39 39 bool "Rust Firmware Loader abstractions" 40 40 depends on RUST 41 - depends on FW_LOADER=y 41 + select FW_LOADER 42 42 help 43 43 This enables the Rust abstractions for the firmware loader API. 44 44