diff options
Diffstat (limited to 'Kernel/Storage/AHCIController.cpp')
-rw-r--r-- | Kernel/Storage/AHCIController.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Storage/AHCIController.cpp b/Kernel/Storage/AHCIController.cpp index 084963f650..50413ca6c4 100644 --- a/Kernel/Storage/AHCIController.cpp +++ b/Kernel/Storage/AHCIController.cpp @@ -17,7 +17,7 @@ namespace Kernel { NonnullRefPtr<AHCIController> AHCIController::initialize(PCI::Address address) { - return adopt(*new AHCIController(address)); + return adopt_ref(*new AHCIController(address)); } bool AHCIController::reset() |