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 <[email protected]> Signed-off-by: Alexandre Courbot <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Danilo Krummrich <[email protected]>
1 parent 38cb08c commit 80a8bcc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)