From 362cfcbc839ef435cfaafc93ee12d50c8f8876c6 Mon Sep 17 00:00:00 2001 From: joevt Date: Sun, 27 Oct 2024 00:59:05 -0700 Subject: [PATCH] atahd: Rename descriptors. --- devices/common/ata/atahd.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/devices/common/ata/atahd.cpp b/devices/common/ata/atahd.cpp index 0bccc3e..02e8cd1 100644 --- a/devices/common/ata/atahd.cpp +++ b/devices/common/ata/atahd.cpp @@ -326,11 +326,12 @@ done: heads, sectors); } -static const PropMap AtaHardDiskProperties = { +static const PropMap AtaHardDisk_Properties = { {"hdd_img", new StrProperty("")}, }; -static const DeviceDescription AtaHardDiskDescriptor = - {AtaHardDisk::create, {}, AtaHardDiskProperties}; +static const DeviceDescription AtaHardDisk_Descriptor = { + AtaHardDisk::create, {}, AtaHardDisk_Properties +}; -REGISTER_DEVICE(AtaHardDisk, AtaHardDiskDescriptor); +REGISTER_DEVICE(AtaHardDisk, AtaHardDisk_Descriptor);