From da327746a2702bd40ae6fa79017850ed357f5c1f Mon Sep 17 00:00:00 2001 From: Liav A Date: Thu, 23 Sep 2021 09:14:51 +0300 Subject: Kernel: Rename two PCI components Rename ID => HardwareID, and PhysicalID => DeviceIdentifier. This change merely does that to clarify what these objects really are. --- Kernel/Graphics/VirtIOGPU/GraphicsAdapter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Kernel/Graphics/VirtIOGPU') diff --git a/Kernel/Graphics/VirtIOGPU/GraphicsAdapter.cpp b/Kernel/Graphics/VirtIOGPU/GraphicsAdapter.cpp index f2d1e74757..6d8ab929ca 100644 --- a/Kernel/Graphics/VirtIOGPU/GraphicsAdapter.cpp +++ b/Kernel/Graphics/VirtIOGPU/GraphicsAdapter.cpp @@ -15,7 +15,7 @@ namespace Kernel::Graphics::VirtIOGPU { NonnullRefPtr GraphicsAdapter::initialize(PCI::Address base_address) { - VERIFY(PCI::get_id(base_address).vendor_id == PCI::VendorID::VirtIO); + VERIFY(PCI::get_hardware_id(base_address).vendor_id == PCI::VendorID::VirtIO); return adopt_ref(*new GraphicsAdapter(base_address)); } -- cgit v1.2.3