diff --git a/Kernel/Bus/PCI/Access.cpp b/Kernel/Bus/PCI/Access.cpp index 664d7bc150..09d5e72a1f 100644 --- a/Kernel/Bus/PCI/Access.cpp +++ b/Kernel/Bus/PCI/Access.cpp @@ -458,7 +458,7 @@ void Access::fast_enumerate(Function& callback) c { MutexLocker locker(m_access_lock); VERIFY(!m_device_identifiers.is_empty()); - for (auto& device_identifier : m_device_identifiers) { + for (auto const& device_identifier : m_device_identifiers) { callback(device_identifier); } } diff --git a/Kernel/Bus/PCI/Access.h b/Kernel/Bus/PCI/Access.h index 55762fec57..754d494cee 100644 --- a/Kernel/Bus/PCI/Access.h +++ b/Kernel/Bus/PCI/Access.h @@ -22,7 +22,6 @@ public: Memory, }; -public: static bool initialize_for_memory_access(PhysicalAddress mcfg_table); static bool initialize_for_io_access();