Skip to content

Commit

Permalink
Kernel: Mark PCISerialDevice::detect() as UNMAP_AFTER_INIT
Browse files Browse the repository at this point in the history
  • Loading branch information
bgianfo authored and awesomekling committed Jun 9, 2021
1 parent 61bd189 commit f124aff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Kernel/Devices/PCISerialDevice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace Kernel {

static SerialDevice* s_the = nullptr;

void PCISerialDevice::detect()
UNMAP_AFTER_INIT void PCISerialDevice::detect()
{
size_t current_device_minor = 68;
PCI::enumerate([&](const PCI::Address& address, PCI::ID id) {
Expand Down

0 comments on commit f124aff

Please sign in to comment.