diff options
Diffstat (limited to 'src/dev/arm')
-rw-r--r-- | src/dev/arm/flash_device.cc | 4 | ||||
-rw-r--r-- | src/dev/arm/ufs_device.cc | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/dev/arm/flash_device.cc b/src/dev/arm/flash_device.cc index 96f8f0566..e4bfcf5c9 100644 --- a/src/dev/arm/flash_device.cc +++ b/src/dev/arm/flash_device.cc @@ -601,10 +601,10 @@ FlashDevice::drain(DrainManager *dm) if (count) { DPRINTF(Drain, "Flash device is draining...\n"); - setDrainState(Drainable::Draining); + setDrainState(DrainState::Draining); } else { DPRINTF(Drain, "Flash device drained\n"); - setDrainState(Drainable::Drained); + setDrainState(DrainState::Drained); } return count; } diff --git a/src/dev/arm/ufs_device.cc b/src/dev/arm/ufs_device.cc index 02df00e35..ef6398216 100644 --- a/src/dev/arm/ufs_device.cc +++ b/src/dev/arm/ufs_device.cc @@ -2333,10 +2333,10 @@ UFSHostDevice::drain(DrainManager *dm) if (count) { DPRINTF(UFSHostDevice, "UFSDevice is draining...\n"); - setDrainState(Drainable::Draining); + setDrainState(DrainState::Draining); } else { DPRINTF(UFSHostDevice, "UFSDevice drained\n"); - setDrainState(Drainable::Drained); + setDrainState(DrainState::Drained); } return count; } |