aboutsummaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorAlexandre Courbot <acourbot@nvidia.com>2025-05-15 17:23:18 +0900
committerDanilo Krummrich <dakr@kernel.org>2025-05-15 20:59:32 +0200
commit80a8bcc65290bc95c11accd875fb3dd19fc7287e (patch)
treec3cf52835d005079891dabc0c0971c41fafc19bc /samples
parentrust: drm: gem: Implement AlwaysRefCounted for all gem objects automatically (diff)
downloadlinux-rng-80a8bcc65290bc95c11accd875fb3dd19fc7287e.tar.xz
linux-rng-80a8bcc65290bc95c11accd875fb3dd19fc7287e.zip
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: 96609a1969f4 ("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>
Diffstat (limited to 'samples')
-rw-r--r--samples/rust/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/rust/Kconfig b/samples/rust/Kconfig
index 43cb72d72631..b1006ab4bc3c 100644
--- a/samples/rust/Kconfig
+++ b/samples/rust/Kconfig
@@ -84,8 +84,8 @@ config SAMPLE_RUST_DRIVER_FAUX
config SAMPLE_RUST_DRIVER_AUXILIARY
tristate "Auxiliary Driver"
- depends on AUXILIARY_BUS
depends on PCI
+ select AUXILIARY_BUS
help
This option builds the Rust auxiliary driver sample.