diff options
Diffstat (limited to 'Kernel/Devices/HID/I8042Controller.cpp')
-rw-r--r-- | Kernel/Devices/HID/I8042Controller.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Devices/HID/I8042Controller.cpp b/Kernel/Devices/HID/I8042Controller.cpp index 9479373f81..c48df8690a 100644 --- a/Kernel/Devices/HID/I8042Controller.cpp +++ b/Kernel/Devices/HID/I8042Controller.cpp @@ -14,7 +14,7 @@ namespace Kernel { UNMAP_AFTER_INIT NonnullRefPtr<I8042Controller> I8042Controller::initialize() { - return adopt(*new I8042Controller()); + return adopt_ref(*new I8042Controller()); } RefPtr<MouseDevice> I8042Controller::mouse() const |