diff options
Diffstat (limited to 'Kernel/Storage/AHCIController.cpp')
-rw-r--r-- | Kernel/Storage/AHCIController.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/Storage/AHCIController.cpp b/Kernel/Storage/AHCIController.cpp index d037639ca1..09b9872ca7 100644 --- a/Kernel/Storage/AHCIController.cpp +++ b/Kernel/Storage/AHCIController.cpp @@ -15,9 +15,9 @@ namespace Kernel { -NonnullRefPtr<AHCIController> AHCIController::initialize(PCI::Address address) +NonnullRefPtr<AHCIController> AHCIController::initialize(PCI::DeviceIdentifier const& pci_device_identifier) { - return adopt_ref(*new AHCIController(address)); + return adopt_ref(*new AHCIController(pci_device_identifier.address())); } bool AHCIController::reset() |