Skip to content

Commit b0581f6

Browse files
committed
drm/tyr: depend on COMMON_CLK to fix build error
Tyr needs `CONFIG_COMMON_CLK` to build: error[E0432]: unresolved import `kernel::clk::Clk` --> drivers/gpu/drm/tyr/driver.rs:3:5 | 3 | use kernel::clk::Clk; | ^^^^^^^^^^^^^^^^ no `Clk` in `clk` error[E0432]: unresolved import `kernel::clk::OptionalClk` --> drivers/gpu/drm/tyr/driver.rs:4:5 | 4 | use kernel::clk::OptionalClk; | ^^^^^^^^^^^^^^^^^^^^^^^^ no `OptionalClk` in `clk` Thus add the dependency to fix it. Fixes: cf4fd52 ("rust: drm: Introduce the Tyr driver for Arm Mali GPUs") Cc: stable@vger.kernel.org Acked-by: Alice Ryhl <aliceryhl@google.com> Link: https://patch.msgid.link/20260124160948.67508-1-ojeda@kernel.org Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
1 parent bd36f6e commit b0581f6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/gpu/drm/tyr/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ config DRM_TYR
66
depends on RUST
77
depends on ARM || ARM64 || COMPILE_TEST
88
depends on !GENERIC_ATOMIC64 # for IOMMU_IO_PGTABLE_LPAE
9+
depends on COMMON_CLK
910
default n
1011
help
1112
Rust DRM driver for ARM Mali CSF-based GPUs.

0 commit comments

Comments
 (0)