diff options
author | Liav A <liavalb@gmail.com> | 2020-02-22 19:42:27 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-02-24 11:27:03 +0100 |
commit | 73a7e5875e1cc8282d1667dabaa5dc714841d3f1 (patch) | |
tree | 8894a4343b4a6277265b21bc20bfb10c2946d6c2 /Kernel/PCI/Device.h | |
parent | ea1251d465afe8ade713e1fd1313f0a5a1852bee (diff) | |
download | serenity-73a7e5875e1cc8282d1667dabaa5dc714841d3f1.zip |
Kernel: Update PCI::Device class to use the new IRQHandler class
Diffstat (limited to 'Kernel/PCI/Device.h')
-rw-r--r-- | Kernel/PCI/Device.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Kernel/PCI/Device.h b/Kernel/PCI/Device.h index edcc435407..22fce33e5d 100644 --- a/Kernel/PCI/Device.h +++ b/Kernel/PCI/Device.h @@ -27,10 +27,11 @@ #pragma once #include <AK/Types.h> -#include <Kernel/InterruptHandler.h> +#include <Kernel/Interrupts/IRQHandler.h> #include <Kernel/PCI/Definitions.h> -class PCI::Device : public InterruptHandler { +namespace Kernel { +class PCI::Device : public IRQHandler { public: Address get_pci_address() const { return m_pci_address; }; @@ -42,3 +43,4 @@ protected: private: Address m_pci_address; }; +} |