summaryrefslogtreecommitdiff
path: root/drivers/gpu/nova-core/nova_core.rs
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nova-core/nova_core.rs')
-rw-r--r--drivers/gpu/nova-core/nova_core.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nova-core/nova_core.rs b/drivers/gpu/nova-core/nova_core.rs
index a91cd924054b..618632f0abcc 100644
--- a/drivers/gpu/nova-core/nova_core.rs
+++ b/drivers/gpu/nova-core/nova_core.rs
@@ -8,6 +8,8 @@ mod gpu;
mod regs;
mod util;
+pub(crate) const MODULE_NAME: &kernel::str::CStr = <LocalModule as kernel::ModuleMetadata>::NAME;
+
kernel::module_pci_driver! {
type: driver::NovaCore,
name: "NovaCore",