diff options
Diffstat (limited to 'Kernel/Net/RTL8139NetworkAdapter.cpp')
-rw-r--r-- | Kernel/Net/RTL8139NetworkAdapter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Net/RTL8139NetworkAdapter.cpp b/Kernel/Net/RTL8139NetworkAdapter.cpp index 2a193cec8d..293fe7c4f9 100644 --- a/Kernel/Net/RTL8139NetworkAdapter.cpp +++ b/Kernel/Net/RTL8139NetworkAdapter.cpp @@ -107,7 +107,7 @@ namespace Kernel { UNMAP_AFTER_INIT void RTL8139NetworkAdapter::detect() { - static const PCI::ID rtl8139_id = { 0x10EC, 0x8139 }; + constexpr PCI::ID rtl8139_id = { 0x10EC, 0x8139 }; PCI::enumerate([&](const PCI::Address& address, PCI::ID id) { if (address.is_null()) return; |