summaryrefslogtreecommitdiff
path: root/Kernel/Bus/PCI/API.h
diff options
context:
space:
mode:
authorLiav A <liavalb@gmail.com>2021-09-23 11:05:00 +0300
committerAndreas Kling <kling@serenityos.org>2021-09-29 11:24:33 +0200
commit9d9d57056ea1a9a9ce599d69309d0d78b8c27b8b (patch)
treedff74950e7856e8d55e1ae767d85834766d280db /Kernel/Bus/PCI/API.h
parenta411a44fda3ba713e139331d4c29ea32f70c99d8 (diff)
downloadserenity-9d9d57056ea1a9a9ce599d69309d0d78b8c27b8b.zip
Kernel/PCI: Remove Address from enumeration callback
If we need that address, we can always get it from the DeviceIdentifier.
Diffstat (limited to 'Kernel/Bus/PCI/API.h')
-rw-r--r--Kernel/Bus/PCI/API.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Bus/PCI/API.h b/Kernel/Bus/PCI/API.h
index d65d7ea8b9..97cdcfd5db 100644
--- a/Kernel/Bus/PCI/API.h
+++ b/Kernel/Bus/PCI/API.h
@@ -19,7 +19,7 @@ u32 read32(Address address, u32 field);
HardwareID get_hardware_id(PCI::Address);
bool is_io_space_enabled(Address);
-void enumerate(Function<void(Address, DeviceIdentifier const&)> callback);
+void enumerate(Function<void(DeviceIdentifier const&)> callback);
void enable_interrupt_line(Address);
void disable_interrupt_line(Address);
void raw_access(Address, u32, size_t, u32);