Kernel: Mark PCISerialDevice::detect() as UNMAP_AFTER_INIT

This commit is contained in:
Brian Gianforcaro 2021-06-09 00:48:51 -07:00 committed by Andreas Kling
parent 61bd1890d2
commit f124affc8e
Notes: sideshowbarker 2024-07-18 12:35:10 +09:00

View file

@ -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) {