mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 09:36:22 +02:00
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 <gary@garyguo.net> Reviewed-by: Gary Guo <gary@garyguo.net> Reviewed-by: John Hubbard <jhubbard@nvidia.com> Acked-by: Timur Tabi <ttabi@nvidia.com> Closes: https://github.com/Rust-for-Linux/linux/issues/1228 Signed-off-by: Cheng-Yang Chou <yphbchou0911@gmail.com> Link: https://patch.msgid.link/20260507185012.1527139-2-yphbchou0911@gmail.com Signed-off-by: Danilo Krummrich <dakr@kernel.org>
This commit is contained in:
parent
37f748ed0c
commit
4f3491f6ec
|
|
@ -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!(
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -67,7 +67,7 @@ fn init(module: &'static kernel::ThisModule) -> impl PinInit<Self, Error> {
|
|||
|
||||
module! {
|
||||
type: NovaCoreModule,
|
||||
name: "NovaCore",
|
||||
name: "nova-core",
|
||||
authors: ["Danilo Krummrich"],
|
||||
description: "Nova Core GPU driver",
|
||||
license: "GPL v2",
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user