diff options
author | Brian Gianforcaro <bgianf@serenityos.org> | 2021-06-09 00:56:22 -0700 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-06-09 10:57:51 +0200 |
commit | aa63fe20a5e729d0308bc70fa127c6c92db0e136 (patch) | |
tree | ad5ec632c0afe154e9efbc3106f81c3ceca3f7ec | |
parent | 7e88ac63b9ae18fbb33f36f1f157e5ba0d20aebf (diff) | |
download | serenity-aa63fe20a5e729d0308bc70fa127c6c92db0e136.zip |
Kernel: Mark VirtIOConsole constructor as UNMAP_AFTER_INIT
-rw-r--r-- | Kernel/VirtIO/VirtIOConsole.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/VirtIO/VirtIOConsole.cpp b/Kernel/VirtIO/VirtIOConsole.cpp index 69b80ac2c3..3c97e24dac 100644 --- a/Kernel/VirtIO/VirtIOConsole.cpp +++ b/Kernel/VirtIO/VirtIOConsole.cpp @@ -10,7 +10,7 @@ namespace Kernel { unsigned VirtIOConsole::next_device_id = 0; -VirtIOConsole::VirtIOConsole(PCI::Address address) +UNMAP_AFTER_INIT VirtIOConsole::VirtIOConsole(PCI::Address address) : CharacterDevice(229, next_device_id++) , VirtIODevice(address, "VirtIOConsole") { |