mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-07 08:39:22 +00:00
Kernel/Devices: Use try_create_device helper for SB16
This commit is contained in:
parent
fd4397a430
commit
44f5f72add
Notes:
sideshowbarker
2024-07-18 03:47:49 +09:00
Author: https://github.com/supercomputer7
Commit: 44f5f72add
Pull-request: https://github.com/SerenityOS/serenity/pull/9955
Reviewed-by: https://github.com/ADKaster
Reviewed-by: https://github.com/IdanHo ✅
5 changed files with 26 additions and 22 deletions
|
@ -22,6 +22,10 @@ UNMAP_AFTER_INIT void DeviceManagement::initialize()
|
|||
s_the.ensure_instance();
|
||||
}
|
||||
|
||||
UNMAP_AFTER_INIT void DeviceManagement::attach_sb16_device(SB16 const& device)
|
||||
{
|
||||
m_sb16_device = device;
|
||||
}
|
||||
|
||||
UNMAP_AFTER_INIT void DeviceManagement::attach_console_device(ConsoleDevice const& device)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue