mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 04:07:46 +00:00
Kernel/HID: Don't use *LockRefPtrs in the I8042Controller code
This commit is contained in:
parent
747efc5265
commit
32557be930
4 changed files with 8 additions and 6 deletions
|
@ -90,7 +90,7 @@ protected:
|
|||
{
|
||||
}
|
||||
|
||||
NonnullLockRefPtr<I8042Controller> m_i8042_controller;
|
||||
NonnullRefPtr<I8042Controller> const m_i8042_controller;
|
||||
};
|
||||
|
||||
class PS2KeyboardDevice;
|
||||
|
@ -101,7 +101,7 @@ class I8042Controller final : public HIDController {
|
|||
friend class PS2MouseDevice;
|
||||
|
||||
public:
|
||||
static NonnullLockRefPtr<I8042Controller> initialize();
|
||||
static ErrorOr<NonnullRefPtr<I8042Controller>> create();
|
||||
|
||||
ErrorOr<void> detect_devices();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue