aboutsummaryrefslogtreecommitdiff
path: root/kernel/devices/include/devices/BlockDevice.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/devices/include/devices/BlockDevice.hpp')
-rw-r--r--kernel/devices/include/devices/BlockDevice.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/kernel/devices/include/devices/BlockDevice.hpp b/kernel/devices/include/devices/BlockDevice.hpp
index 69d7f815..9e9ef08b 100644
--- a/kernel/devices/include/devices/BlockDevice.hpp
+++ b/kernel/devices/include/devices/BlockDevice.hpp
@@ -1,11 +1,13 @@
#ifndef TEACH_OS_KERNEL_DEVICES_BLOCK_DEVICE_HPP
#define TEACH_OS_KERNEL_DEVICES_BLOCK_DEVICE_HPP
+#include "devices/Device.hpp"
+
#include <cstddef>
namespace devices
{
- struct block_device
+ struct block_device : device
{
virtual ~block_device() = default;