From 4f3491f6ec85c04535e8108614f34e12c351bbe9 Mon Sep 17 00:00:00 2001 From: Cheng-Yang Chou Date: Fri, 8 May 2026 02:49:25 +0800 Subject: [PATCH] gpu: nova, nova-core: Rename to kebab-case Driver names must follow kernel kebab-case convention before they are exposed as UAPI via driver_override. Rename the nova-drm module from "Nova" to "nova-drm" and the nova-core module from "NovaCore" to "nova-core". Update NOVA_CORE_MODULE_NAME to match the renamed nova-core module. Suggested-by: Gary Guo Reviewed-by: Gary Guo Reviewed-by: John Hubbard Acked-by: Timur Tabi Closes: https://github.com/Rust-for-Linux/linux/issues/1228 Signed-off-by: Cheng-Yang Chou Link: https://patch.msgid.link/20260507185012.1527139-2-yphbchou0911@gmail.com Signed-off-by: Danilo Krummrich --- drivers/gpu/drm/nova/driver.rs | 2 +- drivers/gpu/drm/nova/nova.rs | 2 +- drivers/gpu/nova-core/nova_core.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/nova/driver.rs b/drivers/gpu/drm/nova/driver.rs index b1af0a099551..f8f7beeccb13 100644 --- a/drivers/gpu/drm/nova/driver.rs +++ b/drivers/gpu/drm/nova/driver.rs @@ -36,7 +36,7 @@ pub(crate) struct NovaData { desc: c"Nvidia Graphics", }; -const NOVA_CORE_MODULE_NAME: &CStr = c"NovaCore"; +const NOVA_CORE_MODULE_NAME: &CStr = c"nova-core"; const AUXILIARY_NAME: &CStr = c"nova-drm"; kernel::auxiliary_device_table!( diff --git a/drivers/gpu/drm/nova/nova.rs b/drivers/gpu/drm/nova/nova.rs index 8893e58ee0db..1fd454c7e0df 100644 --- a/drivers/gpu/drm/nova/nova.rs +++ b/drivers/gpu/drm/nova/nova.rs @@ -10,7 +10,7 @@ kernel::module_auxiliary_driver! { type: NovaDriver, - name: "Nova", + name: "nova-drm", authors: ["Danilo Krummrich"], description: "Nova GPU driver", license: "GPL v2", diff --git a/drivers/gpu/nova-core/nova_core.rs b/drivers/gpu/nova-core/nova_core.rs index 3a609f6937e4..80264094d44b 100644 --- a/drivers/gpu/nova-core/nova_core.rs +++ b/drivers/gpu/nova-core/nova_core.rs @@ -67,7 +67,7 @@ fn init(module: &'static kernel::ThisModule) -> impl PinInit { module! { type: NovaCoreModule, - name: "NovaCore", + name: "nova-core", authors: ["Danilo Krummrich"], description: "Nova Core GPU driver", license: "GPL v2",