summaryrefslogtreecommitdiff
path: root/Kernel/Graphics/VirtIOGPU/GraphicsAdapter.h
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/Graphics/VirtIOGPU/GraphicsAdapter.h')
-rw-r--r--Kernel/Graphics/VirtIOGPU/GraphicsAdapter.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Kernel/Graphics/VirtIOGPU/GraphicsAdapter.h b/Kernel/Graphics/VirtIOGPU/GraphicsAdapter.h
index bc6bf22b5e..ec01de1e76 100644
--- a/Kernel/Graphics/VirtIOGPU/GraphicsAdapter.h
+++ b/Kernel/Graphics/VirtIOGPU/GraphicsAdapter.h
@@ -37,7 +37,8 @@ class VirtIOGraphicsAdapter final
friend class VirtIOGPU3DDevice;
public:
- static NonnullLockRefPtr<VirtIOGraphicsAdapter> initialize(PCI::DeviceIdentifier const&);
+ static ErrorOr<bool> probe(PCI::DeviceIdentifier const&);
+ static ErrorOr<NonnullLockRefPtr<GenericGraphicsAdapter>> create(PCI::DeviceIdentifier const&);
virtual void initialize() override;