summaryrefslogtreecommitdiff
path: root/Kernel/Devices/PS2MouseDevice.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-08-22 16:34:14 +0200
committerAndreas Kling <kling@serenityos.org>2020-08-22 16:34:14 +0200
commit68580d5a8d7adae1eebfa5a8c369d96a70d06bdb (patch)
tree83298fe2754fd1b2a2069d6d89efe5414b7d8b48 /Kernel/Devices/PS2MouseDevice.cpp
parent8a21491d863cd904aeed3b9bbf6d8bc8f537972c (diff)
downloadserenity-68580d5a8d7adae1eebfa5a8c369d96a70d06bdb.zip
Revert "AK: Get rid of make_singleton function"
This reverts commit 5a98e329d157a2db8379e0c97c6bdc1328027843.
Diffstat (limited to 'Kernel/Devices/PS2MouseDevice.cpp')
-rw-r--r--Kernel/Devices/PS2MouseDevice.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Devices/PS2MouseDevice.cpp b/Kernel/Devices/PS2MouseDevice.cpp
index 0dbb7d8bba..913b6d5c73 100644
--- a/Kernel/Devices/PS2MouseDevice.cpp
+++ b/Kernel/Devices/PS2MouseDevice.cpp
@@ -57,7 +57,7 @@ namespace Kernel {
//#define PS2MOUSE_DEBUG
-static AK::Singleton<PS2MouseDevice> s_the;
+static auto s_the = AK::make_singleton<PS2MouseDevice>();
PS2MouseDevice::PS2MouseDevice()
: IRQHandler(IRQ_MOUSE)