summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanilo Krummrich <dakr@redhat.com>2024-01-11 23:41:13 +0100
committerDanilo Krummrich <dakr@redhat.com>2024-01-11 23:41:13 +0100
commitffaffd3a1d89baf9a83df0b5958020b1982e939a (patch)
tree5553faeabd977f49341e5bcb4906058a98502aae
parent969ca11e50b84633c60bfc88faee025b79891c24 (diff)
nova: bios: allow unused fields in struct BiosPcirT
Signed-off-by: Danilo Krummrich <dakr@redhat.com>
-rw-r--r--drivers/gpu/drm/nova/bios.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nova/bios.rs b/drivers/gpu/drm/nova/bios.rs
index 324254d7d162..f5b9db2bc9fc 100644
--- a/drivers/gpu/drm/nova/bios.rs
+++ b/drivers/gpu/drm/nova/bios.rs
@@ -18,6 +18,7 @@ struct BitEntry {
offset: u16,
}
+#[allow(dead_code)]
#[derive(Default)]
struct BiosPcirT {
vendor_id: u16,