summaryrefslogtreecommitdiff
path: root/Kernel/Devices/EBRPartitionTable.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-02-08 02:17:26 +0100
committerAndreas Kling <kling@serenityos.org>2020-02-08 02:20:03 +0100
commit88ea152b2425338ad0ad9a199590f396590f7b5a (patch)
tree168518e8f49cf651273aac98a8e85285ea058664 /Kernel/Devices/EBRPartitionTable.h
parent6be880bd10dce91114706704aa8f1f27bbdce89f (diff)
downloadserenity-88ea152b2425338ad0ad9a199590f396590f7b5a.zip
Kernel: Merge unnecessary DiskDevice class into BlockDevice
Diffstat (limited to 'Kernel/Devices/EBRPartitionTable.h')
-rw-r--r--Kernel/Devices/EBRPartitionTable.h5
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;