summaryrefslogtreecommitdiff
path: root/Kernel/Bus/VirtIO/VirtIORNG.h
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/Bus/VirtIO/VirtIORNG.h')
-rw-r--r--Kernel/Bus/VirtIO/VirtIORNG.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/Kernel/Bus/VirtIO/VirtIORNG.h b/Kernel/Bus/VirtIO/VirtIORNG.h
index 395b507b5c..b34b693ea1 100644
--- a/Kernel/Bus/VirtIO/VirtIORNG.h
+++ b/Kernel/Bus/VirtIO/VirtIORNG.h
@@ -11,18 +11,18 @@
#include <Kernel/Devices/CharacterDevice.h>
#include <Kernel/Random.h>
-namespace Kernel {
+namespace Kernel::VirtIO {
#define REQUESTQ 0
-class VirtIORNG final
- : public RefCounted<VirtIORNG>
- , public VirtIODevice {
+class RNG final
+ : public RefCounted<RNG>
+ , public VirtIO::Device {
public:
virtual StringView purpose() const override { return class_name(); }
- VirtIORNG(PCI::Address);
- virtual ~VirtIORNG() override;
+ RNG(PCI::Address);
+ virtual ~RNG() override;
private:
virtual StringView class_name() const override { return "VirtIOConsole"; }