diff options
author | Liav A <liavalb@gmail.com> | 2021-09-23 10:20:54 +0300 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-09-29 11:24:33 +0200 |
commit | 057f5a12c2c69b1bad1d8b778d3cb934b3a8f346 (patch) | |
tree | e982c24df38e71e0d1c7dc0745c8ceec99c926cd /Kernel/Graphics/Intel/NativeGraphicsAdapter.h | |
parent | da327746a2702bd40ae6fa79017850ed357f5c1f (diff) | |
download | serenity-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/Intel/NativeGraphicsAdapter.h')
-rw-r--r-- | Kernel/Graphics/Intel/NativeGraphicsAdapter.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Graphics/Intel/NativeGraphicsAdapter.h b/Kernel/Graphics/Intel/NativeGraphicsAdapter.h index 6db51e8005..f71a097bd0 100644 --- a/Kernel/Graphics/Intel/NativeGraphicsAdapter.h +++ b/Kernel/Graphics/Intel/NativeGraphicsAdapter.h @@ -105,7 +105,7 @@ private: }; public: - static RefPtr<IntelNativeGraphicsAdapter> initialize(PCI::Address); + static RefPtr<IntelNativeGraphicsAdapter> initialize(PCI::DeviceIdentifier const&); private: explicit IntelNativeGraphicsAdapter(PCI::Address); |