gpu: drm: nova: select AUXILIARY_BUS instead of depending on it
authorAlexandre Courbot <acourbot@nvidia.com>
Thu, 15 May 2025 08:23:20 +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_DRM) unless
another driver happens to do it for us.

Fixes: cdeaeb9dd762 ("drm: nova-drm: add initial driver skeleton")
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Link: https://lore.kernel.org/r/20250515-aux_bus-v2-3-47c70f96ae9b@nvidia.com
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
drivers/gpu/drm/nova/Kconfig

index 123e96788484ad05a77a5827742c0c88255b1f2f..cca6a3fea879b81c38dd7124942cf2aa09874efa 100644 (file)
@@ -1,9 +1,9 @@
 config DRM_NOVA
        tristate "Nova DRM driver"
-       depends on AUXILIARY_BUS
        depends on DRM=y
        depends on PCI
        depends on RUST
+       select AUXILIARY_BUS
        default n
        help
          Choose this if you want to build the Nova DRM driver for Nvidia