summaryrefslogtreecommitdiff
path: root/Kernel/Graphics/FramebufferDevice.h
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/Graphics/FramebufferDevice.h')
-rw-r--r--Kernel/Graphics/FramebufferDevice.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/Graphics/FramebufferDevice.h b/Kernel/Graphics/FramebufferDevice.h
index 207155db76..acdc4e3ec8 100644
--- a/Kernel/Graphics/FramebufferDevice.h
+++ b/Kernel/Graphics/FramebufferDevice.h
@@ -20,7 +20,7 @@ class FramebufferDevice final : public GenericFramebufferDevice {
friend class DeviceManagement;
public:
- static NonnullRefPtr<FramebufferDevice> create(const GenericGraphicsAdapter&, PhysicalAddress, size_t, size_t, size_t);
+ static NonnullRefPtr<FramebufferDevice> create(GenericGraphicsAdapter const&, PhysicalAddress, size_t, size_t, size_t);
virtual ErrorOr<Memory::Region*> mmap(Process&, OpenFileDescription&, Memory::VirtualRange const&, u64 offset, int prot, bool shared) override;
@@ -50,7 +50,7 @@ private:
virtual ErrorOr<void> flush_head_buffer(size_t head) override;
virtual ErrorOr<void> flush_rectangle(size_t head, FBRect const&) override;
- FramebufferDevice(const GenericGraphicsAdapter&, PhysicalAddress, size_t, size_t, size_t);
+ FramebufferDevice(GenericGraphicsAdapter const&, PhysicalAddress, size_t, size_t, size_t);
PhysicalAddress m_framebuffer_address;
size_t m_framebuffer_pitch { 0 };