gpu: nova-core: select AUXILIARY_BUS instead of depending on it
authorAlexandre Courbot <acourbot@nvidia.com>
Thu, 15 May 2025 08:23:19 +0000 (17:23 +0900)
committerDanilo Krummrich <dakr@kernel.org>
Thu, 15 May 2025 18:59:32 +0000 (20:59 +0200)
CONFIG_AUXILIARY_BUS cannot be enabled explicitly, and unless we select
it we have no way to include it (and thus to enable NOVA_CORE) unless
another driver happens to do it for us.

Fixes: e041d81a0377 ("gpu: nova-core: register auxiliary device for nova-drm")
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Link: https://lore.kernel.org/r/20250515-aux_bus-v2-2-47c70f96ae9b@nvidia.com
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
drivers/gpu/nova-core/Kconfig

index 67f99b6a023a5706bc809de18f9142938d1d0cd8..8726d80d6ba4013d84d0e6194ccaa9b41a6e4af1 100644 (file)
@@ -1,9 +1,9 @@
 config NOVA_CORE
        tristate "Nova Core GPU driver"
-       depends on AUXILIARY_BUS
        depends on PCI
        depends on RUST
        depends on RUST_FW_LOADER_ABSTRACTIONS
+       select AUXILIARY_BUS
        default n
        help
          Choose this if you want to build the Nova Core driver for Nvidia