summaryrefslogtreecommitdiff
path: root/Kernel/Bus/VirtIO/RNG.h
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/Bus/VirtIO/RNG.h')
-rw-r--r--Kernel/Bus/VirtIO/RNG.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/Bus/VirtIO/RNG.h b/Kernel/Bus/VirtIO/RNG.h
index c1e6d3c440..a77b284a39 100644
--- a/Kernel/Bus/VirtIO/RNG.h
+++ b/Kernel/Bus/VirtIO/RNG.h
@@ -19,7 +19,7 @@ class RNG final
: public RefCounted<RNG>
, public VirtIO::Device {
public:
- static NonnullRefPtr<RNG> must_create(PCI::Address address);
+ static NonnullRefPtr<RNG> must_create(PCI::DeviceIdentifier const&);
virtual StringView purpose() const override { return class_name(); }
virtual ~RNG() override = default;
@@ -27,7 +27,7 @@ public:
private:
virtual StringView class_name() const override { return "VirtIOConsole"; }
- explicit RNG(PCI::Address);
+ explicit RNG(PCI::DeviceIdentifier const&);
virtual bool handle_device_config_change() override;
virtual void handle_queue_update(u16 queue_index) override;
void request_entropy_from_host();