summaryrefslogtreecommitdiff
path: root/Kernel/Arch/x86_64/ISABus
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2023-03-06 17:56:28 +0100
committerAndreas Kling <kling@serenityos.org>2023-03-06 23:46:36 +0100
commit7369d0ab5f93b3b083e030bef64486b02cafb3d5 (patch)
tree2b82fc7c6825248d15d0a36c09d2518fe6f8d2cc /Kernel/Arch/x86_64/ISABus
parent21db2b7b903d8c35151174fb18f947db5227eab7 (diff)
downloadserenity-7369d0ab5f93b3b083e030bef64486b02cafb3d5.zip
Kernel: Stop using NonnullLockRefPtrVector
Diffstat (limited to 'Kernel/Arch/x86_64/ISABus')
-rw-r--r--Kernel/Arch/x86_64/ISABus/IDEController.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/Arch/x86_64/ISABus/IDEController.cpp b/Kernel/Arch/x86_64/ISABus/IDEController.cpp
index fc701d4a8e..870564725d 100644
--- a/Kernel/Arch/x86_64/ISABus/IDEController.cpp
+++ b/Kernel/Arch/x86_64/ISABus/IDEController.cpp
@@ -44,11 +44,11 @@ UNMAP_AFTER_INIT ErrorOr<void> ISAIDEController::initialize_channels()
TRY(m_channels.try_append(IDEChannel::create(*this, move(primary_channel_io_window_group), IDEChannel::ChannelType::Primary)));
TRY(initialize_and_enumerate(m_channels[0]));
- m_channels[0].enable_irq();
+ m_channels[0]->enable_irq();
TRY(m_channels.try_append(IDEChannel::create(*this, move(secondary_channel_io_window_group), IDEChannel::ChannelType::Secondary)));
TRY(initialize_and_enumerate(m_channels[1]));
- m_channels[1].enable_irq();
+ m_channels[1]->enable_irq();
dbgln("ISA IDE controller detected and initialized");
return {};
}