summaryrefslogtreecommitdiff
path: root/Kernel/Bus/VirtIO/Console.h
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/Bus/VirtIO/Console.h')
-rw-r--r--Kernel/Bus/VirtIO/Console.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/Bus/VirtIO/Console.h b/Kernel/Bus/VirtIO/Console.h
index 77d0b1c285..65c2f3770c 100644
--- a/Kernel/Bus/VirtIO/Console.h
+++ b/Kernel/Bus/VirtIO/Console.h
@@ -18,7 +18,7 @@ class Console
friend VirtIO::ConsolePort;
public:
- static NonnullRefPtr<Console> must_create(PCI::Address address);
+ static NonnullRefPtr<Console> must_create(PCI::DeviceIdentifier const&);
virtual ~Console() override = default;
virtual StringView purpose() const override { return class_name(); }
@@ -32,7 +32,7 @@ public:
private:
virtual StringView class_name() const override { return "VirtIOConsole"; }
- explicit Console(PCI::Address);
+ explicit Console(PCI::DeviceIdentifier const&);
enum class ControlEvent : u16 {
DeviceReady = 0,
DeviceAdd = 1,