summaryrefslogtreecommitdiff
path: root/Kernel/Graphics/Intel/NativeGraphicsAdapter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/Graphics/Intel/NativeGraphicsAdapter.cpp')
-rw-r--r--Kernel/Graphics/Intel/NativeGraphicsAdapter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Graphics/Intel/NativeGraphicsAdapter.cpp b/Kernel/Graphics/Intel/NativeGraphicsAdapter.cpp
index e7e29a6d25..0ed5f32eb2 100644
--- a/Kernel/Graphics/Intel/NativeGraphicsAdapter.cpp
+++ b/Kernel/Graphics/Intel/NativeGraphicsAdapter.cpp
@@ -43,7 +43,7 @@ static bool is_supported_model(u16 device_id)
RefPtr<IntelNativeGraphicsAdapter> IntelNativeGraphicsAdapter::initialize(PCI::Address address)
{
- auto id = PCI::get_id(address);
+ auto id = PCI::get_hardware_id(address);
VERIFY(id.vendor_id == 0x8086);
if (!is_supported_model(id.device_id))
return {};