diff options
Diffstat (limited to 'Kernel/Devices/IDEDiskDevice.h')
-rw-r--r-- | Kernel/Devices/IDEDiskDevice.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Kernel/Devices/IDEDiskDevice.h b/Kernel/Devices/IDEDiskDevice.h index d87ab9e690..7f5cfbd99e 100644 --- a/Kernel/Devices/IDEDiskDevice.h +++ b/Kernel/Devices/IDEDiskDevice.h @@ -1,9 +1,9 @@ #pragma once -#include <Kernel/Lock.h> #include <AK/RetainPtr.h> #include <Kernel/Devices/DiskDevice.h> #include <Kernel/IRQHandler.h> +#include <Kernel/Lock.h> #include <Kernel/PCI.h> #include <Kernel/PhysicalAddress.h> #include <Kernel/VM/PhysicalPage.h> @@ -14,7 +14,8 @@ struct PhysicalRegionDescriptor { word end_of_table { 0 }; }; -class IDEDiskDevice final : public IRQHandler, public DiskDevice { +class IDEDiskDevice final : public IRQHandler + , public DiskDevice { AK_MAKE_ETERNAL public: static Retained<IDEDiskDevice> create(); @@ -58,4 +59,3 @@ private: word m_bus_master_base { 0 }; Lockable<bool> m_dma_enabled; }; - |