mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 19:27:45 +00:00
Kernel: Mark PCISerialDevice::detect() as UNMAP_AFTER_INIT
This commit is contained in:
parent
61bd1890d2
commit
f124affc8e
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ namespace Kernel {
|
||||||
|
|
||||||
static SerialDevice* s_the = nullptr;
|
static SerialDevice* s_the = nullptr;
|
||||||
|
|
||||||
void PCISerialDevice::detect()
|
UNMAP_AFTER_INIT void PCISerialDevice::detect()
|
||||||
{
|
{
|
||||||
size_t current_device_minor = 68;
|
size_t current_device_minor = 68;
|
||||||
PCI::enumerate([&](const PCI::Address& address, PCI::ID id) {
|
PCI::enumerate([&](const PCI::Address& address, PCI::ID id) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue