diff options
Diffstat (limited to 'Kernel/PCI.h')
-rw-r--r-- | Kernel/PCI.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Kernel/PCI.h b/Kernel/PCI.h index e8330d4245..f295fb8f4d 100644 --- a/Kernel/PCI.h +++ b/Kernel/PCI.h @@ -18,8 +18,13 @@ struct ID { }; struct Address { - Address() { } - Address(byte bus, byte slot, byte function) : m_bus(bus), m_slot(slot), m_function(function) { } + Address() {} + Address(byte bus, byte slot, byte function) + : m_bus(bus) + , m_slot(slot) + , m_function(function) + { + } bool is_null() const { return !m_bus && !m_slot && !m_function; } operator bool() const { return !is_null(); } |