diff options
author | Andreas Kling <kling@serenityos.org> | 2020-02-08 02:17:26 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-02-08 02:20:03 +0100 |
commit | 88ea152b2425338ad0ad9a199590f396590f7b5a (patch) | |
tree | 168518e8f49cf651273aac98a8e85285ea058664 /Kernel/Devices/EBRPartitionTable.h | |
parent | 6be880bd10dce91114706704aa8f1f27bbdce89f (diff) | |
download | serenity-88ea152b2425338ad0ad9a199590f396590f7b5a.zip |
Kernel: Merge unnecessary DiskDevice class into BlockDevice
Diffstat (limited to 'Kernel/Devices/EBRPartitionTable.h')
-rw-r--r-- | Kernel/Devices/EBRPartitionTable.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Kernel/Devices/EBRPartitionTable.h b/Kernel/Devices/EBRPartitionTable.h index 9245fc7626..564c8c9e9c 100644 --- a/Kernel/Devices/EBRPartitionTable.h +++ b/Kernel/Devices/EBRPartitionTable.h @@ -28,7 +28,6 @@ #include <AK/RefPtr.h> #include <AK/Vector.h> -#include <Kernel/Devices/DiskDevice.h> #include <Kernel/Devices/DiskPartition.h> #include <Kernel/Devices/MBRPartitionTable.h> @@ -44,7 +43,7 @@ struct [[gnu::packed]] EBRPartitionExtension class EBRPartitionTable { public: - explicit EBRPartitionTable(NonnullRefPtr<DiskDevice>); + explicit EBRPartitionTable(NonnullRefPtr<BlockDevice>); ~EBRPartitionTable(); bool initialize(); @@ -52,7 +51,7 @@ public: private: int index_of_ebr_container() const; - NonnullRefPtr<DiskDevice> m_device; + NonnullRefPtr<BlockDevice> m_device; const MBRPartitionHeader& header() const; const EBRPartitionExtension& ebr_extension() const; |