summaryrefslogtreecommitdiff
path: root/Kernel/Bus/PCI
diff options
context:
space:
mode:
authorBen Wiederhake <BenWiederhake.GitHub@gmx.de>2021-09-11 15:39:11 +0200
committerIdan Horowitz <idan.horowitz@gmail.com>2021-09-20 16:00:43 +0300
commitde15a6a65701369b180f597d9871676172dff9de (patch)
tree023cb4bf5fbffb2b1d78ed3cf67977a2cf5c9aac /Kernel/Bus/PCI
parentf9e0815c3b2588297ebdf08938859988bbe8a5b8 (diff)
downloadserenity-de15a6a65701369b180f597d9871676172dff9de.zip
Kernel: Clean up PCI::Device namespace formatting
Diffstat (limited to 'Kernel/Bus/PCI')
-rw-r--r--Kernel/Bus/PCI/Device.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/Kernel/Bus/PCI/Device.h b/Kernel/Bus/PCI/Device.h
index 5d827f1f49..2b58f58dac 100644
--- a/Kernel/Bus/PCI/Device.h
+++ b/Kernel/Bus/PCI/Device.h
@@ -10,7 +10,9 @@
#include <Kernel/Bus/PCI/Definitions.h>
namespace Kernel {
-class PCI::Device {
+namespace PCI {
+
+class Device {
public:
Address pci_address() const { return m_pci_address; };
@@ -33,4 +35,6 @@ protected:
private:
Address m_pci_address;
};
+
+}
}