summaryrefslogtreecommitdiff
path: root/Kernel/Graphics/GraphicsManagement.h
diff options
context:
space:
mode:
authorLiav A <liavalb@gmail.com>2021-09-23 10:20:54 +0300
committerAndreas Kling <kling@serenityos.org>2021-09-29 11:24:33 +0200
commit057f5a12c2c69b1bad1d8b778d3cb934b3a8f346 (patch)
treee982c24df38e71e0d1c7dc0745c8ceec99c926cd /Kernel/Graphics/GraphicsManagement.h
parentda327746a2702bd40ae6fa79017850ed357f5c1f (diff)
downloadserenity-057f5a12c2c69b1bad1d8b778d3cb934b3a8f346.zip
Kernel/PCI: Propagate usage of DeviceIdentifier everywhere
This allows us to remove a bunch of PCI API functions, and instead to leverage the cached data from DeviceIdentifier object in many places.
Diffstat (limited to 'Kernel/Graphics/GraphicsManagement.h')
-rw-r--r--Kernel/Graphics/GraphicsManagement.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Graphics/GraphicsManagement.h b/Kernel/Graphics/GraphicsManagement.h
index 6d6a200416..5c58926d03 100644
--- a/Kernel/Graphics/GraphicsManagement.h
+++ b/Kernel/Graphics/GraphicsManagement.h
@@ -47,7 +47,7 @@ public:
void activate_graphical_mode();
private:
- bool determine_and_initialize_graphics_device(const PCI::Address& address, PCI::HardwareID id);
+ bool determine_and_initialize_graphics_device(PCI::DeviceIdentifier const&);
NonnullRefPtrVector<GraphicsDevice> m_graphics_devices;
RefPtr<Graphics::Console> m_console;