Skip to content

Commit 80a8bcc

Browse files
GnurouDanilo Krummrich
authored andcommitted
samples: rust: select AUXILIARY_BUS instead of depending on it
CONFIG_AUXILIARY_BUS cannot be enabled explicitly, and unless we select it we have no way to include it (and thus to enable the auxiliary driver sample) unless a driver happens to do it for us. Fixes: 96609a1 ("samples: rust: add Rust auxiliary driver sample") Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Alexandre Courbot <acourbot@nvidia.com> Link: https://lore.kernel.org/r/20250515-aux_bus-v2-1-47c70f96ae9b@nvidia.com Signed-off-by: Danilo Krummrich <dakr@kernel.org>
1 parent 38cb08c commit 80a8bcc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

samples/rust/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ config SAMPLE_RUST_DRIVER_FAUX
8484

8585
config SAMPLE_RUST_DRIVER_AUXILIARY
8686
tristate "Auxiliary Driver"
87-
depends on AUXILIARY_BUS
8887
depends on PCI
88+
select AUXILIARY_BUS
8989
help
9090
This option builds the Rust auxiliary driver sample.
9191

0 commit comments

Comments
 (0)