Skip to content

Commit

Permalink
atahd: Rename descriptors.
Browse files Browse the repository at this point in the history
  • Loading branch information
joevt authored and dingusdev committed Nov 15, 2024
1 parent 6c093e1 commit 362cfcb
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions devices/common/ata/atahd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);

0 comments on commit 362cfcb

Please sign in to comment.