summaryrefslogtreecommitdiff
path: root/Kernel/Devices/PS2MouseDevice.h
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/Devices/PS2MouseDevice.h')
-rw-r--r--Kernel/Devices/PS2MouseDevice.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Kernel/Devices/PS2MouseDevice.h b/Kernel/Devices/PS2MouseDevice.h
index 3ca6832797..a3e4eef698 100644
--- a/Kernel/Devices/PS2MouseDevice.h
+++ b/Kernel/Devices/PS2MouseDevice.h
@@ -13,10 +13,10 @@ public:
static PS2MouseDevice& the();
// ^CharacterDevice
- virtual bool can_read(Process&) const override;
- virtual ssize_t read(Process&, byte*, ssize_t) override;
- virtual ssize_t write(Process&, const byte*, ssize_t) override;
- virtual bool can_write(Process&) const override { return true; }
+ virtual bool can_read(FileDescriptor&) const override;
+ virtual ssize_t read(FileDescriptor&, byte*, ssize_t) override;
+ virtual ssize_t write(FileDescriptor&, const byte*, ssize_t) override;
+ virtual bool can_write(FileDescriptor&) const override { return true; }
private:
// ^IRQHandler