]> git.ipfire.org Git - thirdparty/linux.git/commit
gpu: nova-core: remove `io::` qualifier to register macro invocations
authorAlexandre Courbot <acourbot@nvidia.com>
Wed, 25 Mar 2026 02:46:22 +0000 (11:46 +0900)
committerAlexandre Courbot <acourbot@nvidia.com>
Thu, 26 Mar 2026 06:10:29 +0000 (15:10 +0900)
commit2278f97bb3e121504fe7f6ecbcfc11e8b6a3dc6e
tree96dbc19195f075f2c811a81ff173dd3d184d9b85
parent38f7e5450ebfc6f2e046a249a3f629ea7bec8c31
gpu: nova-core: remove `io::` qualifier to register macro invocations

The kernel's `register` macro would clash with nova-core's own version
if it was imported directly, so it was accessed through its `io` module
during the conversion phase.

Now that nova-core's `register` macro doesn't exist anymore, we can
import and use it directly without risk of name collision.

Reviewed-by: Eliot Courtney <ecourtney@nvidia.com>
Reviewed-by: Gary Guo <gary@garyguo.net>
Acked-by: Danilo Krummrich <dakr@kernel.org>
Link: https://patch.msgid.link/20260325-b4-nova-register-v4-9-bdf172f0f6ca@nvidia.com
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
drivers/gpu/nova-core/regs.rs