diff --git a/devices/common/ata/atahd.cpp b/devices/common/ata/atahd.cpp index 0bccc3ee8c..02e8cd1f38 100644 --- a/devices/common/ata/atahd.cpp +++ b/devices/common/ata/atahd.cpp @@ -326,11 +326,12 @@ void AtaHardDisk::calc_chs_params() { 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);