summaryrefslogtreecommitdiff
path: root/Kernel/Devices/GPTPartitionTable.h
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/Devices/GPTPartitionTable.h')
-rw-r--r--Kernel/Devices/GPTPartitionTable.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/Kernel/Devices/GPTPartitionTable.h b/Kernel/Devices/GPTPartitionTable.h
index 9ec4ac3ea5..5a86fc00d5 100644
--- a/Kernel/Devices/GPTPartitionTable.h
+++ b/Kernel/Devices/GPTPartitionTable.h
@@ -29,7 +29,6 @@
#include <AK/RefPtr.h>
#include <AK/Types.h>
#include <AK/Vector.h>
-#include <Kernel/Devices/DiskDevice.h>
#include <Kernel/Devices/DiskPartition.h>
#define GPT_SIGNATURE2 0x54524150
@@ -73,14 +72,14 @@ struct [[gnu::packed]] GPTPartitionHeader
class GPTPartitionTable {
public:
- explicit GPTPartitionTable(DiskDevice&);
+ explicit GPTPartitionTable(BlockDevice&);
~GPTPartitionTable();
bool initialize();
RefPtr<DiskPartition> partition(unsigned index);
private:
- NonnullRefPtr<DiskDevice> m_device;
+ NonnullRefPtr<BlockDevice> m_device;
const GPTPartitionHeader& header() const;