[PATCH 1/2] gpu: nova-core: remove imports available from prelude

From: Gary Guo

Date: Wed Jun 10 2026 - 10:08:43 EST


From: Gary Guo <gary@xxxxxxxxxxx>

No functional changes intended.

Signed-off-by: Gary Guo <gary@xxxxxxxxxxx>
---
drivers/gpu/nova-core/firmware.rs | 4 +---
drivers/gpu/nova-core/firmware/fwsec/bootloader.rs | 1 -
2 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/drivers/gpu/nova-core/firmware.rs b/drivers/gpu/nova-core/firmware.rs
index 366d3b76360e..f74e0f16c65c 100644
--- a/drivers/gpu/nova-core/firmware.rs
+++ b/drivers/gpu/nova-core/firmware.rs
@@ -467,11 +467,9 @@ pub(crate) const fn create(
/// that scheme before nova-core becomes stable, which means this module will eventually be
/// removed.
mod elf {
- use core::mem::size_of;
-
use kernel::{
bindings,
- str::CStr,
+ prelude::*,
transmute::FromBytes, //
};

diff --git a/drivers/gpu/nova-core/firmware/fwsec/bootloader.rs b/drivers/gpu/nova-core/firmware/fwsec/bootloader.rs
index 039920dc340b..ac1558a83b83 100644
--- a/drivers/gpu/nova-core/firmware/fwsec/bootloader.rs
+++ b/drivers/gpu/nova-core/firmware/fwsec/bootloader.rs
@@ -7,7 +7,6 @@
//! be loaded using PIO.

use kernel::{
- alloc::KVec,
device::{
self,
Device, //

base-commit: 58f0f62778faf667bdaf1fa7db59e89847213646
--
2.54.0